com.caucho.cloud.bam
Class BamSystem

java.lang.Object
  extended by com.caucho.env.service.AbstractResinSubSystem
      extended by com.caucho.cloud.bam.BamSystem
All Implemented Interfaces:
ResinSubSystem

public class BamSystem
extends AbstractResinSubSystem

The BAM service registered in the Resin network.


Field Summary
static int START_PRIORITY
           
 
Fields inherited from interface com.caucho.env.service.ResinSubSystem
START_PRIORITY_CACHE_SERVICE, START_PRIORITY_CLASSLOADER, START_PRIORITY_CLUSTER_SERVICE, START_PRIORITY_DEFAULT, START_PRIORITY_ENV_SYSTEM, START_PRIORITY_NETWORK_CLUSTER
 
Constructor Summary
BamSystem(java.lang.String address)
           
 
Method Summary
static BamSystem createAndAddService(java.lang.String address)
           
 java.lang.String getAddress()
           
 ManagedBroker getBroker()
           
 BamManager getBrokerManager()
           
static BamSystem getCurrent()
           
static ManagedBroker getCurrentBroker()
           
 ServerAuthManager getLinkManager()
           
 int getStartPriority()
          Returns the start priority of the service, used to determine which services to start first.
 void setDomainManager(DomainManager manager)
           
 void setLinkManager(ServerAuthManager linkManager)
           
 void stop()
          Stops the service.
 java.lang.String toString()
           
 
Methods inherited from class com.caucho.env.service.AbstractResinSubSystem
destroy, getStopPriority, preCreate, start
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

START_PRIORITY

public static final int START_PRIORITY
See Also:
Constant Field Values
Constructor Detail

BamSystem

public BamSystem(java.lang.String address)
Method Detail

createAndAddService

public static BamSystem createAndAddService(java.lang.String address)

getCurrent

public static BamSystem getCurrent()

getCurrentBroker

public static ManagedBroker getCurrentBroker()

getAddress

public java.lang.String getAddress()

getBroker

public ManagedBroker getBroker()

getBrokerManager

public BamManager getBrokerManager()

setDomainManager

public void setDomainManager(DomainManager manager)

setLinkManager

public void setLinkManager(ServerAuthManager linkManager)

getLinkManager

public ServerAuthManager getLinkManager()

getStartPriority

public int getStartPriority()
Description copied from interface: ResinSubSystem
Returns the start priority of the service, used to determine which services to start first.

Specified by:
getStartPriority in interface ResinSubSystem
Overrides:
getStartPriority in class AbstractResinSubSystem

stop

public void stop()
Description copied from interface: ResinSubSystem
Stops the service.

Specified by:
stop in interface ResinSubSystem
Overrides:
stop in class AbstractResinSubSystem

toString

public java.lang.String toString()
Overrides:
toString in class AbstractResinSubSystem