org.apache.activemq.gbean
Class BrokerServiceGBeanImpl
java.lang.Object
org.apache.activemq.gbean.BrokerServiceGBeanImpl
- All Implemented Interfaces:
- org.apache.activemq.gbean.ActiveMQBroker, BrokerServiceGBean, org.apache.geronimo.gbean.GBeanLifecycle, org.apache.geronimo.management.geronimo.JMSBroker, org.apache.geronimo.management.geronimo.NetworkContainer, org.apache.geronimo.management.J2EEManagedObject
public class BrokerServiceGBeanImpl
- extends Object
- implements org.apache.geronimo.gbean.GBeanLifecycle, BrokerServiceGBean
Default implementation of the ActiveMQ Message Server
Field Summary |
static org.apache.geronimo.gbean.GBeanInfo |
GBEAN_INFO
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GBEAN_INFO
public static final org.apache.geronimo.gbean.GBeanInfo GBEAN_INFO
BrokerServiceGBeanImpl
public BrokerServiceGBeanImpl()
getBrokerContainer
public org.apache.activemq.broker.BrokerService getBrokerContainer()
- Specified by:
getBrokerContainer
in interface BrokerServiceGBean
doStart
public void doStart()
throws Exception
- Specified by:
doStart
in interface org.apache.geronimo.gbean.GBeanLifecycle
- Throws:
Exception
doStop
public void doStop()
throws Exception
- Specified by:
doStop
in interface org.apache.geronimo.gbean.GBeanLifecycle
- Throws:
Exception
doFail
public void doFail()
- Specified by:
doFail
in interface org.apache.geronimo.gbean.GBeanLifecycle
getGBeanInfo
public static org.apache.geronimo.gbean.GBeanInfo getGBeanInfo()
getBrokerName
public String getBrokerName()
- Specified by:
getBrokerName
in interface BrokerServiceGBean
- Returns:
- Returns the brokerName.
getBrokerUri
public String getBrokerUri()
setBrokerName
public void setBrokerName(String brokerName)
setBrokerUri
public void setBrokerUri(String brokerUri)
getServerInfo
public org.apache.geronimo.system.serverinfo.ServerInfo getServerInfo()
setServerInfo
public void setServerInfo(org.apache.geronimo.system.serverinfo.ServerInfo serverInfo)
getDataDirectory
public String getDataDirectory()
setDataDirectory
public void setDataDirectory(String dataDir)
getDataSource
public org.apache.geronimo.connector.outbound.ConnectionFactorySource getDataSource()
setDataSource
public void setDataSource(org.apache.geronimo.connector.outbound.ConnectionFactorySource dataSource)
getObjectName
public String getObjectName()
- Specified by:
getObjectName
in interface org.apache.geronimo.management.J2EEManagedObject
isStateManageable
public boolean isStateManageable()
- Specified by:
isStateManageable
in interface org.apache.geronimo.management.J2EEManagedObject
isStatisticsProvider
public boolean isStatisticsProvider()
- Specified by:
isStatisticsProvider
in interface org.apache.geronimo.management.J2EEManagedObject
isEventProvider
public boolean isEventProvider()
- Specified by:
isEventProvider
in interface org.apache.geronimo.management.J2EEManagedObject
getConnectors
public org.apache.geronimo.management.geronimo.NetworkConnector[] getConnectors()
- Specified by:
getConnectors
in interface org.apache.geronimo.management.geronimo.NetworkContainer
getConnectors
public org.apache.geronimo.management.geronimo.NetworkConnector[] getConnectors(String protocol)
- Specified by:
getConnectors
in interface org.apache.geronimo.management.geronimo.NetworkContainer
getManager
public org.apache.geronimo.management.geronimo.JMSManager getManager()
setManager
public void setManager(org.apache.geronimo.management.geronimo.JMSManager manager)
setObjectName
public void setObjectName(String objectName)
getClassLoader
public ClassLoader getClassLoader()
setClassLoader
public void setClassLoader(ClassLoader classLoader)
isUseShutdownHook
public boolean isUseShutdownHook()
setUseShutdownHook
public void setUseShutdownHook(boolean useShutdownHook)
Copyright © 2006 Apache Software Foundation. All Rights Reserved.