|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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()
|
org.apache.geronimo.connector.outbound.ConnectionFactorySource |
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(org.apache.geronimo.connector.outbound.ConnectionFactorySource 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 BrokerServiceGBean
public void setMbeanServerReference(MBeanServerReference mbeanServerReference)
public void doStart() throws Exception
GBeanLifecycle
doStart
in interface GBeanLifecycle
Exception
- if the target failed to start; this will cause a transition to the failed statepublic void doStop() throws Exception
GBeanLifecycle
doStop
in interface GBeanLifecycle
Exception
- if the target failed to stop; this will cause a transition to the failed statepublic void doFail()
GBeanLifecycle
doFail
in interface GBeanLifecycle
public static GBeanInfo getGBeanInfo()
public String getBrokerName()
getBrokerName
in interface BrokerServiceGBean
public 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 org.apache.geronimo.connector.outbound.ConnectionFactorySource getDataSource()
public void setDataSource(org.apache.geronimo.connector.outbound.ConnectionFactorySource dataSource)
public String getObjectName()
J2EEManagedObject
getObjectName
in interface J2EEManagedObject
public boolean isStateManageable()
J2EEManagedObject
isStateManageable
in interface J2EEManagedObject
public boolean isStatisticsProvider()
J2EEManagedObject
isStatisticsProvider
in interface J2EEManagedObject
public boolean isEventProvider()
J2EEManagedObject
isEventProvider
in interface J2EEManagedObject
public NetworkConnector[] getConnectors()
NetworkContainer
getConnectors
in interface NetworkContainer
public NetworkConnector[] getConnectors(String protocol)
NetworkContainer
getConnectors
in interface NetworkContainer
protocol
- 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 |