com.caucho.amp.manager
Class AbstractAmpManagerBuilder

java.lang.Object
  extended by com.caucho.amp.manager.AbstractAmpManagerBuilder
All Implemented Interfaces:
AmpManagerBuilder
Direct Known Subclasses:
AmpManagerBuilderImpl

public abstract class AbstractAmpManagerBuilder
extends java.lang.Object
implements AmpManagerBuilder

Factory for creating an AMP manager.


Constructor Summary
AbstractAmpManagerBuilder()
           
 
Method Summary
abstract  AmpManager create()
          Creates the manager.
 AmpBrokerFactory getBrokerFactory()
          Returns the domain's broker.
 AmpMailboxBuilderFactory getMailboxBuilderFactory()
          The factory for creating mailbox builders.
 AmpManagerBuilder setBrokerFactory(AmpBrokerFactory factory)
          Sets the domain's broker.
 AmpManagerBuilder setMailboxBuilderFactory(AmpMailboxBuilderFactory factory)
          The factory for creating mailbox builders.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractAmpManagerBuilder

public AbstractAmpManagerBuilder()
Method Detail

getBrokerFactory

public AmpBrokerFactory getBrokerFactory()
Description copied from interface: AmpManagerBuilder
Returns the domain's broker.

Specified by:
getBrokerFactory in interface AmpManagerBuilder

setBrokerFactory

public AmpManagerBuilder setBrokerFactory(AmpBrokerFactory factory)
Description copied from interface: AmpManagerBuilder
Sets the domain's broker.

Specified by:
setBrokerFactory in interface AmpManagerBuilder

getMailboxBuilderFactory

public AmpMailboxBuilderFactory getMailboxBuilderFactory()
Description copied from interface: AmpManagerBuilder
The factory for creating mailbox builders.

Specified by:
getMailboxBuilderFactory in interface AmpManagerBuilder

setMailboxBuilderFactory

public AmpManagerBuilder setMailboxBuilderFactory(AmpMailboxBuilderFactory factory)
Description copied from interface: AmpManagerBuilder
The factory for creating mailbox builders.

Specified by:
setMailboxBuilderFactory in interface AmpManagerBuilder

create

public abstract AmpManager create()
Description copied from interface: AmpManagerBuilder
Creates the manager.

Specified by:
create in interface AmpManagerBuilder