|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.geronimo.activemq.BrokerServiceGBeanImpl
public class BrokerServiceGBeanImpl
Default implementation of the ActiveMQ Message Server
| Field Summary | |
|---|---|
static GBeanInfo |
GBEAN_INFO
|
| Constructor Summary | |
|---|---|
BrokerServiceGBeanImpl()
|
|
| Method Summary | |
|---|---|
void |
doFail()
Fails the GBean. |
void |
doStart()
Starts the GBean. |
void |
doStop()
Stops the target. |
org.apache.activemq.broker.BrokerService |
getBrokerContainer()
|
String |
getBrokerName()
|
String |
getBrokerUri()
|
ClassLoader |
getClassLoader()
|
NetworkConnector[] |
getConnectors()
Gets any existing connectors associated with this network container. |
NetworkConnector[] |
getConnectors(String protocol)
Gets any existing connectors for this network container for the specified protocol. |
String |
getDataDirectory()
|
ResourceSource<ResourceException> |
getDataSource()
|
static GBeanInfo |
getGBeanInfo()
|
JMSManager |
getManager()
|
String |
getObjectName()
Gets the unique name of this object. |
ServerInfo |
getServerInfo()
|
boolean |
isEventProvider()
Determines if this object implemnts the event provider type defined in the J2EE Management specification. |
boolean |
isStateManageable()
Determines if this object implements the state manageable type defined in the J2EE Management specification. |
boolean |
isStatisticsProvider()
Determines if this object implemnts the statistics provider type defined in the J2EE Management specification. |
boolean |
isUseShutdownHook()
|
void |
setBrokerName(String brokerName)
|
void |
setBrokerUri(String brokerUri)
|
void |
setClassLoader(ClassLoader classLoader)
|
void |
setDataDirectory(String dataDir)
|
void |
setDataSource(ResourceSource<ResourceException> dataSource)
|
void |
setManager(JMSManager manager)
|
void |
setMbeanServerReference(MBeanServerReference mbeanServerReference)
|
void |
setObjectName(String objectName)
|
void |
setServerInfo(ServerInfo serverInfo)
|
void |
setUseShutdownHook(boolean useShutdownHook)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final GBeanInfo GBEAN_INFO
| Constructor Detail |
|---|
public BrokerServiceGBeanImpl()
| Method Detail |
|---|
public org.apache.activemq.broker.BrokerService getBrokerContainer()
getBrokerContainer in interface BrokerServiceGBeanpublic void setMbeanServerReference(MBeanServerReference mbeanServerReference)
public void doStart()
throws Exception
GBeanLifecycle
doStart in interface GBeanLifecycleException - if the target failed to start; this will cause a transition to the failed state
public void doStop()
throws Exception
GBeanLifecycle
doStop in interface GBeanLifecycleException - if the target failed to stop; this will cause a transition to the failed statepublic void doFail()
GBeanLifecycle
doFail in interface GBeanLifecyclepublic static GBeanInfo getGBeanInfo()
public String getBrokerName()
getBrokerName in interface BrokerServiceGBeanpublic String getBrokerUri()
public void setBrokerName(String brokerName)
public void setBrokerUri(String brokerUri)
public ServerInfo getServerInfo()
public void setServerInfo(ServerInfo serverInfo)
public String getDataDirectory()
public void setDataDirectory(String dataDir)
public ResourceSource<ResourceException> getDataSource()
public void setDataSource(ResourceSource<ResourceException> dataSource)
public String getObjectName()
J2EEManagedObject
getObjectName in interface J2EEManagedObjectpublic boolean isStateManageable()
J2EEManagedObject
isStateManageable in interface J2EEManagedObjectpublic boolean isStatisticsProvider()
J2EEManagedObject
isStatisticsProvider in interface J2EEManagedObjectpublic boolean isEventProvider()
J2EEManagedObject
isEventProvider in interface J2EEManagedObjectpublic NetworkConnector[] getConnectors()
NetworkContainer
getConnectors in interface NetworkContainerpublic NetworkConnector[] getConnectors(String protocol)
NetworkContainer
getConnectors in interface NetworkContainerprotocol - A protocol as returned by getSupportedProtocolspublic JMSManager getManager()
public void setManager(JMSManager manager)
public void setObjectName(String objectName)
public ClassLoader getClassLoader()
public void setClassLoader(ClassLoader classLoader)
public boolean isUseShutdownHook()
public void setUseShutdownHook(boolean useShutdownHook)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||