public class IMAPServerFactory extends AbstractServerFactory
Constructor and Description |
---|
IMAPServerFactory() |
Modifier and Type | Method and Description |
---|---|
protected IMAPServer |
createServer() |
protected List<AbstractConfigurableAsyncServer> |
createServers(org.slf4j.Logger log,
org.apache.commons.configuration.HierarchicalConfiguration config)
Create
AbstractConfigurableAsyncServer servers, inject dependencies and configure them before return all fo them in a List |
void |
setFileSystem(FileSystem filesystem) |
void |
setImapDecoder(org.apache.james.imap.decode.ImapDecoder decoder) |
void |
setImapEncoder(org.apache.james.imap.encode.ImapEncoder encoder) |
void |
setImapProcessor(org.apache.james.imap.api.process.ImapProcessor processor) |
configure, destroy, getServers, init, setLog
public final void setFileSystem(FileSystem filesystem)
public void setImapDecoder(org.apache.james.imap.decode.ImapDecoder decoder)
public void setImapEncoder(org.apache.james.imap.encode.ImapEncoder encoder)
public void setImapProcessor(org.apache.james.imap.api.process.ImapProcessor processor)
protected IMAPServer createServer()
protected List<AbstractConfigurableAsyncServer> createServers(org.slf4j.Logger log, org.apache.commons.configuration.HierarchicalConfiguration config) throws Exception
AbstractServerFactory
AbstractConfigurableAsyncServer
servers, inject dependencies and configure them before return all fo them in a List
createServers
in class AbstractServerFactory
Exception
Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.