|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.geronimo.activemq.management.ActiveMQManagerGBean
public class ActiveMQManagerGBean
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()
Gets any existing connectors associated with this network technology. |
NetworkConnector[] |
getConnectors(String protocol)
Gets any existing connectors for this network technology for the specified protocol. |
NetworkConnector[] |
getConnectorsForContainer(Object broker)
Gets the ObjectNames of any existing connectors for the specified container. |
NetworkConnector[] |
getConnectorsForContainer(Object broker,
String protocol)
Gets the ObjectNames of any existing connectors for the specified container for the specified protocol. |
Object[] |
getContainers()
Gets the network containers (web, EJB, JMS, etc.) |
static GBeanInfo |
getGBeanInfo()
|
String |
getObjectName()
Gets the unique name of this object. |
String |
getProductName()
Gets the name of the product that this manager manages. |
String[] |
getSupportedProtocols()
Gets the protocols which this container can configure connectors for. |
boolean |
isEventProvider()
Determines if this object implemnts the event provider type defined in the J2EE Management specification. |
boolean |
isStateManageable()
Determines if this object implements the state manageable type defined in the J2EE Management specification. |
boolean |
isStatisticsProvider()
Determines if this object implemnts the statistics provider type defined in the J2EE Management specification. |
void |
removeConnector(AbstractName connectorName)
Removes a connector. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final GBeanInfo GBEAN_INFO
Constructor Detail |
---|
public ActiveMQManagerGBean(Kernel kernel, String objectName)
Method Detail |
---|
public String getProductName()
NetworkManager
getProductName
in interface NetworkManager
public String getObjectName()
J2EEManagedObject
getObjectName
in interface J2EEManagedObject
public boolean isEventProvider()
J2EEManagedObject
isEventProvider
in interface J2EEManagedObject
public boolean isStateManageable()
J2EEManagedObject
isStateManageable
in interface J2EEManagedObject
public boolean isStatisticsProvider()
J2EEManagedObject
isStatisticsProvider
in interface J2EEManagedObject
public Object[] getContainers()
NetworkManager
getContainers
in interface NetworkManager
public String[] getSupportedProtocols()
NetworkManager
getSupportedProtocols
in interface NetworkManager
public NetworkConnector[] getConnectors()
NetworkManager
getConnectors
in interface NetworkManager
public NetworkConnector[] getConnectors(String protocol)
NetworkManager
getConnectors
in interface NetworkManager
protocol
- A protocol as returned by getSupportedProtocolspublic NetworkConnector[] getConnectorsForContainer(Object broker)
NetworkManager
getConnectorsForContainer
in interface NetworkManager
broker
- The container to get connectors forpublic NetworkConnector[] getConnectorsForContainer(Object broker, String protocol)
NetworkManager
getConnectorsForContainer
in interface NetworkManager
broker
- The container to get connectors forprotocol
- A protocol as returned by getSupportedProtocolspublic JMSConnector addConnector(JMSBroker broker, String uniqueName, String protocol, String host, int port)
addConnector
in interface JMSManager
broker
- The broker to add the connector foruniqueName
- A name fragment that's unique to this connectorprotocol
- The protocol the connector should be configured forhost
- The listen host/IP for the connectorport
- The listen port for the connector
public void removeConnector(AbstractName connectorName)
NetworkManager
removeConnector
in interface NetworkManager
public static GBeanInfo getGBeanInfo()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |