org.apache.geronimo.activemq.management
Class ActiveMQManagerGBean

java.lang.Object
  extended by org.apache.geronimo.activemq.management.ActiveMQManagerGBean
All Implemented Interfaces:
ActiveMQManager, JMSManager, NetworkManager, J2EEManagedObject

public class ActiveMQManagerGBean
extends Object
implements ActiveMQManager

Implementation of the ActiveMQ management interface. These are the ActiveMQ management features available at runtime.


Field Summary
static GBeanInfo GBEAN_INFO
           
 
Constructor Summary
ActiveMQManagerGBean(Kernel kernel, String objectName)
           
 
Method Summary
 JMSConnector addConnector(JMSBroker broker, String uniqueName, String protocol, String host, int port)
          Returns a new JMSConnector.
 NetworkConnector[] getConnectors()
           
 NetworkConnector[] getConnectors(String protocol)
           
 NetworkConnector[] getConnectorsForContainer(Object broker)
           
 NetworkConnector[] getConnectorsForContainer(Object broker, String protocol)
           
 Object[] getContainers()
           
static GBeanInfo getGBeanInfo()
           
 String getObjectName()
           
 String getProductName()
           
 String[] getSupportedProtocols()
           
 boolean isEventProvider()
           
 boolean isStateManageable()
           
 boolean isStatisticsProvider()
           
 void removeConnector(AbstractName connectorName)
           
 
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 GBeanInfo GBEAN_INFO
Constructor Detail

ActiveMQManagerGBean

public ActiveMQManagerGBean(Kernel kernel,
                            String objectName)
Method Detail

getProductName

public String getProductName()
Specified by:
getProductName in interface NetworkManager

getObjectName

public String getObjectName()
Specified by:
getObjectName in interface J2EEManagedObject

isEventProvider

public boolean isEventProvider()
Specified by:
isEventProvider in interface J2EEManagedObject

isStateManageable

public boolean isStateManageable()
Specified by:
isStateManageable in interface J2EEManagedObject

isStatisticsProvider

public boolean isStatisticsProvider()
Specified by:
isStatisticsProvider in interface J2EEManagedObject

getContainers

public Object[] getContainers()
Specified by:
getContainers in interface NetworkManager

getSupportedProtocols

public String[] getSupportedProtocols()
Specified by:
getSupportedProtocols in interface NetworkManager

getConnectors

public NetworkConnector[] getConnectors()
Specified by:
getConnectors in interface NetworkManager

getConnectors

public NetworkConnector[] getConnectors(String protocol)
Specified by:
getConnectors in interface NetworkManager

getConnectorsForContainer

public NetworkConnector[] getConnectorsForContainer(Object broker)
Specified by:
getConnectorsForContainer in interface NetworkManager

getConnectorsForContainer

public NetworkConnector[] getConnectorsForContainer(Object broker,
                                                    String protocol)
Specified by:
getConnectorsForContainer in interface NetworkManager

addConnector

public JMSConnector addConnector(JMSBroker broker,
                                 String uniqueName,
                                 String protocol,
                                 String host,
                                 int port)
Returns a new JMSConnector. Note that the connector may well require further customization before being fully functional (e.g. SSL settings for a secure connector).

Specified by:
addConnector in interface JMSManager

removeConnector

public void removeConnector(AbstractName connectorName)
Specified by:
removeConnector in interface NetworkManager

getGBeanInfo

public static GBeanInfo getGBeanInfo()


Copyright © 2003-2010 The Apache Geronimo development community. All Rights Reserved.