org.codehaus.activemq.gbean
Class ActiveMQContainerGBean
java.lang.Object
org.codehaus.activemq.gbean.ActiveMQContainerGBean
- All Implemented Interfaces:
- ActiveMQContainer, org.apache.geronimo.gbean.GBeanLifecycle
- public class ActiveMQContainerGBean
- extends Object
- implements org.apache.geronimo.gbean.GBeanLifecycle, ActiveMQContainer
Default implementation of the ActiveMQ Message Server
- Version:
- $Revision: 1.5 $
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
ActiveMQContainerGBean
public ActiveMQContainerGBean()
ActiveMQContainerGBean
public ActiveMQContainerGBean(org.apache.geronimo.system.serverinfo.ServerInfo serverInfo,
String brokerName,
String dataDirectory,
String jassConfiguration,
Properties securityRoles)
getBrokerContainer
public org.codehaus.activemq.broker.BrokerContainer getBrokerContainer()
- Specified by:
getBrokerContainer
in interface ActiveMQContainer
getBrokerAdmin
public org.codehaus.activemq.broker.BrokerAdmin getBrokerAdmin()
- Specified by:
getBrokerAdmin
in interface ActiveMQContainer
- See Also:
ActiveMQContainer.getBrokerAdmin()
doStart
public void doStart()
throws org.apache.geronimo.gbean.WaitingException,
Exception
- Specified by:
doStart
in interface org.apache.geronimo.gbean.GBeanLifecycle
- Throws:
org.apache.geronimo.gbean.WaitingException
Exception
doStop
public void doStop()
throws org.apache.geronimo.gbean.WaitingException,
Exception
- Specified by:
doStop
in interface org.apache.geronimo.gbean.GBeanLifecycle
- Throws:
org.apache.geronimo.gbean.WaitingException
Exception
doFail
public void doFail()
- Specified by:
doFail
in interface org.apache.geronimo.gbean.GBeanLifecycle
createContainer
protected org.codehaus.activemq.broker.BrokerContainer createContainer()
throws Exception
- Throws:
Exception
getGBeanInfo
public static org.apache.geronimo.gbean.GBeanInfo getGBeanInfo()
getBrokerName
public String getBrokerName()
- Specified by:
getBrokerName
in interface ActiveMQContainer
- Returns:
- Returns the brokerName.
getDataDirectory
public String getDataDirectory()
- Specified by:
getDataDirectory
in interface ActiveMQContainer
- Returns:
- Returns the dataDirectory.
getJassConfiguration
public String getJassConfiguration()
- Specified by:
getJassConfiguration
in interface ActiveMQContainer
- Returns:
- Returns the jassConfiguration.
getSecurityRoles
public Properties getSecurityRoles()
- Specified by:
getSecurityRoles
in interface ActiveMQContainer
- Returns:
- Returns the securityRoles.
Copyright © 2004-2005 Protique, Ltd.. All Rights Reserved.