org.codehaus.activemq.gbean
Class ActiveMQContainerGBean

java.lang.Object
  extended byorg.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
           
 
Constructor Summary
ActiveMQContainerGBean()
           
ActiveMQContainerGBean(org.apache.geronimo.system.serverinfo.ServerInfo serverInfo, String brokerName, String dataDirectory, String jassConfiguration, Properties securityRoles)
           
 
Method Summary
protected  org.codehaus.activemq.broker.BrokerContainer createContainer()
           
 void doFail()
           
 void doStart()
           
 void doStop()
           
 org.codehaus.activemq.broker.BrokerAdmin getBrokerAdmin()
           
 org.codehaus.activemq.broker.BrokerContainer getBrokerContainer()
           
 String getBrokerName()
           
 String getDataDirectory()
           
static org.apache.geronimo.gbean.GBeanInfo getGBeanInfo()
           
 String getJassConfiguration()
           
 Properties getSecurityRoles()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GBEAN_INFO

public static final org.apache.geronimo.gbean.GBeanInfo GBEAN_INFO
Constructor Detail

ActiveMQContainerGBean

public ActiveMQContainerGBean()

ActiveMQContainerGBean

public ActiveMQContainerGBean(org.apache.geronimo.system.serverinfo.ServerInfo serverInfo,
                              String brokerName,
                              String dataDirectory,
                              String jassConfiguration,
                              Properties securityRoles)
Method Detail

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.