public class BamSystem extends AbstractResinSubSystem
Modifier and Type | Field and Description |
---|---|
static int |
START_PRIORITY |
START_PRIORITY_CACHE_SERVICE, START_PRIORITY_CLASSLOADER, START_PRIORITY_CLUSTER_SERVICE, START_PRIORITY_DATABASE_SYSTEM, START_PRIORITY_DEFAULT, START_PRIORITY_ENV_SYSTEM, START_PRIORITY_NETWORK_CLUSTER, STOP_PRIORITY_CLASSLOADER
Constructor and Description |
---|
BamSystem(java.lang.String address) |
Modifier and Type | Method and Description |
---|---|
void |
addExternalMessageRead() |
void |
addExternalMessageWrite() |
static BamSystem |
createAndAddService(java.lang.String address) |
java.lang.String |
getAddress() |
BamManager |
getBamManager() |
ManagedBroker |
getBroker() |
static BamSystem |
getCurrent() |
static ManagedBroker |
getCurrentBroker() |
static BamManager |
getCurrentManager() |
long |
getExternalMessageReadCount() |
long |
getExternalMessageWriteCount() |
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 |
start()
Starts the service.
|
void |
stop()
Stops the service.
|
java.lang.String |
toString() |
destroy, getStopPriority, isActive, preCreate
public static final int START_PRIORITY
public static BamSystem createAndAddService(java.lang.String address)
public static BamSystem getCurrent()
public static ManagedBroker getCurrentBroker()
public static BamManager getCurrentManager()
public java.lang.String getAddress()
public ManagedBroker getBroker()
public BamManager getBamManager()
public void setDomainManager(DomainManager manager)
public void setLinkManager(ServerAuthManager linkManager)
public ServerAuthManager getLinkManager()
public int getStartPriority()
ResinSubSystem
getStartPriority
in interface ResinSubSystem
getStartPriority
in class AbstractResinSubSystem
public void start()
ResinSubSystem
start
in interface ResinSubSystem
start
in class AbstractResinSubSystem
public void stop()
ResinSubSystem
stop
in interface ResinSubSystem
stop
in class AbstractResinSubSystem
public void addExternalMessageRead()
public long getExternalMessageReadCount()
public void addExternalMessageWrite()
public long getExternalMessageWriteCount()
public java.lang.String toString()
toString
in class AbstractResinSubSystem