org.activemq.gbean
Class ActiveMQContainerGBean

java.lang.Object
  extended byorg.activemq.gbean.ActiveMQContainerGBean
All Implemented Interfaces:
org.activemq.gbean.ActiveMQBroker, ActiveMQContainer, org.apache.geronimo.gbean.GBeanLifecycle, org.apache.geronimo.management.J2EEManagedObject, org.apache.geronimo.management.geronimo.JMSBroker, org.apache.geronimo.management.geronimo.NetworkContainer

public class ActiveMQContainerGBean
extends Object
implements org.apache.geronimo.gbean.GBeanLifecycle, ActiveMQContainer

Default implementation of the ActiveMQ Message Server

Version:
$Revision: 1.1.1.1 $

Field Summary
static org.apache.geronimo.gbean.GBeanInfo GBEAN_INFO
           
 
Constructor Summary
ActiveMQContainerGBean()
           
ActiveMQContainerGBean(String brokerName, org.activemq.store.PersistenceAdapter persistenceAdapter, String jaasConfiguration, Properties securityRoles, String objectName, org.apache.geronimo.management.geronimo.JMSManager manager)
           
 
Method Summary
protected  org.activemq.broker.BrokerContainer createContainer()
           
 void doFail()
           
 void doStart()
           
 void doStop()
           
 org.activemq.broker.BrokerAdmin getBrokerAdmin()
           
 org.activemq.broker.BrokerContainer getBrokerContainer()
           
 String getBrokerName()
           
 org.apache.geronimo.management.geronimo.NetworkConnector[] getConnectors()
           
 org.apache.geronimo.management.geronimo.NetworkConnector[] getConnectors(String protocol)
           
static org.apache.geronimo.gbean.GBeanInfo getGBeanInfo()
           
 String getJaasConfiguration()
           
 String getObjectName()
           
 Properties getSecurityRoles()
           
 boolean isEventProvider()
           
 boolean isStateManageable()
           
 boolean isStatisticsProvider()
           
 
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(String brokerName,
                              org.activemq.store.PersistenceAdapter persistenceAdapter,
                              String jaasConfiguration,
                              Properties securityRoles,
                              String objectName,
                              org.apache.geronimo.management.geronimo.JMSManager manager)
Method Detail

getBrokerContainer

public org.activemq.broker.BrokerContainer getBrokerContainer()
Specified by:
getBrokerContainer in interface ActiveMQContainer

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

getBrokerAdmin

public org.activemq.broker.BrokerAdmin getBrokerAdmin()
Specified by:
getBrokerAdmin in interface ActiveMQContainer
See Also:
ActiveMQContainer.getBrokerAdmin()

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

createContainer

protected org.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.

getJaasConfiguration

public String getJaasConfiguration()
Specified by:
getJaasConfiguration in interface ActiveMQContainer
Returns:
Returns the jassConfiguration.

getSecurityRoles

public Properties getSecurityRoles()
Specified by:
getSecurityRoles in interface ActiveMQContainer
Returns:
Returns the securityRoles.


Copyright © 2004-2007 Protique, Ltd.. All Rights Reserved.