org.apache.james.imapserver
Class DefaultImapFactory

java.lang.Object
  extended by org.apache.james.imapserver.DefaultImapFactory

public class DefaultImapFactory
extends java.lang.Object


Constructor Summary
DefaultImapFactory(FileSystem fileSystem, UsersRepository users, org.apache.avalon.framework.logger.Logger logger)
           
 
Method Summary
 void configure(org.apache.avalon.framework.configuration.Configuration configuration)
           
 org.apache.james.imap.main.ImapRequestHandler createHandler()
           
 org.apache.james.imap.mailbox.MailboxManager getMailbox()
          This is required until James supports IoC assembly.
 void initialize()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultImapFactory

public DefaultImapFactory(FileSystem fileSystem,
                          UsersRepository users,
                          org.apache.avalon.framework.logger.Logger logger)
Method Detail

configure

public void configure(org.apache.avalon.framework.configuration.Configuration configuration)
               throws org.apache.avalon.framework.configuration.ConfigurationException
Throws:
org.apache.avalon.framework.configuration.ConfigurationException
See Also:
Configurable.configure(Configuration)

initialize

public void initialize()
                throws java.lang.Exception
Throws:
java.lang.Exception

createHandler

public org.apache.james.imap.main.ImapRequestHandler createHandler()

getMailbox

public final org.apache.james.imap.mailbox.MailboxManager getMailbox()
This is required until James supports IoC assembly.

Returns:
the mailbox


Copyright ? 2002-2009 The Apache Software Foundation. All Rights Reserved.