Class MQObjectName
java.lang.Object
com.sun.messaging.jms.management.server.MQObjectName
Utility class for manipulating Message Queue MBean Object Names.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
String representation of the ObjectName for the Broker Config MBean.static final String
String representation of the ObjectName for the Broker Monitor MBean.static final String
String representation of the ObjectName for the Cluster Config MBean.static final String
String representation of the ObjectName for the Cluster Monitor MBean.static final String
String representation of the ObjectName for the ConnectionManager Config MBean.static final String
String representation of the ObjectName for the ConnectionManager Monitor MBean.static final String
String representation of the ObjectName for the ConsumerManager Config MBean.static final String
String representation of the ObjectName for the ConsumerManager Monitor MBean.static final String
String representation of the ObjectName for the DestinationManager Config MBean.static final String
String representation of the ObjectName for the DestinationManager Monitor MBean.static final String
String representation of the ObjectName for the JVM Monitor MBean.static final String
String representation of the ObjectName for the Log Config MBean.static final String
String representation of the ObjectName for the Log Monitor MBean.static final String
String representation of the ObjectName for the ProducerManager Config MBean.static final String
String representation of the ObjectName for the ProducerManager Monitor MBean.static final String
String representation of the ObjectName for the ServiceManager Config MBean.static final String
String representation of the ObjectName for the ServiceManager Monitor MBean.static final String
String representation of the ObjectName for the TransactionManager Config MBean.static final String
String representation of the ObjectName for the TransactionManager Monitor MBean. -
Method Summary
Modifier and TypeMethodDescriptionstatic ObjectName
Creates ObjectName for specified connection configuration MBean.static ObjectName
Creates ObjectName for specified connection monitoring MBean.static ObjectName
createDestinationConfig
(String destinationType, String destinationName) Creates ObjectName for destination configuration MBean.static ObjectName
createDestinationMonitor
(String destinationType, String destinationName) Creates ObjectName for specified destination monitor MBean.static ObjectName
createServiceConfig
(String serviceName) Creates ObjectName for service configuration MBean.static ObjectName
createServiceMonitor
(String serviceName) Creates ObjectName for service monitoring MBean.
-
Field Details
-
BROKER_CONFIG_MBEAN_NAME
String representation of the ObjectName for the Broker Config MBean.- See Also:
-
CONNECTION_MANAGER_CONFIG_MBEAN_NAME
String representation of the ObjectName for the ConnectionManager Config MBean.- See Also:
-
CONSUMER_MANAGER_CONFIG_MBEAN_NAME
String representation of the ObjectName for the ConsumerManager Config MBean.- See Also:
-
SERVICE_MANAGER_CONFIG_MBEAN_NAME
String representation of the ObjectName for the ServiceManager Config MBean.- See Also:
-
DESTINATION_MANAGER_CONFIG_MBEAN_NAME
String representation of the ObjectName for the DestinationManager Config MBean.- See Also:
-
CLUSTER_CONFIG_MBEAN_NAME
String representation of the ObjectName for the Cluster Config MBean.- See Also:
-
LOG_CONFIG_MBEAN_NAME
String representation of the ObjectName for the Log Config MBean.- See Also:
-
PRODUCER_MANAGER_CONFIG_MBEAN_NAME
String representation of the ObjectName for the ProducerManager Config MBean.- See Also:
-
TRANSACTION_MANAGER_CONFIG_MBEAN_NAME
String representation of the ObjectName for the TransactionManager Config MBean.- See Also:
-
BROKER_MONITOR_MBEAN_NAME
String representation of the ObjectName for the Broker Monitor MBean.- See Also:
-
SERVICE_MANAGER_MONITOR_MBEAN_NAME
String representation of the ObjectName for the ServiceManager Monitor MBean.- See Also:
-
DESTINATION_MANAGER_MONITOR_MBEAN_NAME
String representation of the ObjectName for the DestinationManager Monitor MBean.- See Also:
-
TRANSACTION_MANAGER_MONITOR_MBEAN_NAME
String representation of the ObjectName for the TransactionManager Monitor MBean.- See Also:
-
CONNECTION_MANAGER_MONITOR_MBEAN_NAME
String representation of the ObjectName for the ConnectionManager Monitor MBean.- See Also:
-
CONSUMER_MANAGER_MONITOR_MBEAN_NAME
String representation of the ObjectName for the ConsumerManager Monitor MBean.- See Also:
-
PRODUCER_MANAGER_MONITOR_MBEAN_NAME
String representation of the ObjectName for the ProducerManager Monitor MBean.- See Also:
-
JVM_MONITOR_MBEAN_NAME
String representation of the ObjectName for the JVM Monitor MBean.- See Also:
-
CLUSTER_MONITOR_MBEAN_NAME
String representation of the ObjectName for the Cluster Monitor MBean.- See Also:
-
LOG_MONITOR_MBEAN_NAME
String representation of the ObjectName for the Log Monitor MBean.- See Also:
-
-
Method Details
-
createServiceConfig
public static ObjectName createServiceConfig(String serviceName) throws MalformedObjectNameException Creates ObjectName for service configuration MBean.- Parameters:
serviceName
- Name of service.- Returns:
- ObjectName of Service MBean
- Throws:
NullPointerException
MalformedObjectNameException
-
createServiceMonitor
public static ObjectName createServiceMonitor(String serviceName) throws MalformedObjectNameException Creates ObjectName for service monitoring MBean.- Parameters:
serviceName
- Name of service.- Returns:
- ObjectName of Service MBean
- Throws:
NullPointerException
MalformedObjectNameException
-
createDestinationConfig
public static ObjectName createDestinationConfig(String destinationType, String destinationName) throws MalformedObjectNameException Creates ObjectName for destination configuration MBean.- Parameters:
destinationType
- Type of destination. One of DestinationType.TOPIC, DestinationType.QUEUE.destinationName
- Name of destination.- Returns:
- ObjectName of service MBean
- Throws:
NullPointerException
MalformedObjectNameException
-
createDestinationMonitor
public static ObjectName createDestinationMonitor(String destinationType, String destinationName) throws MalformedObjectNameException Creates ObjectName for specified destination monitor MBean.- Parameters:
destinationType
- Type of destination. One of DestinationType.TOPIC, DestinationType.QUEUE.destinationName
- Name of destination.- Returns:
- ObjectName of DestinationMonitor MBean
- Throws:
NullPointerException
MalformedObjectNameException
-
createConnectionConfig
Creates ObjectName for specified connection configuration MBean.- Parameters:
id
- Connection ID- Returns:
- ObjectName of ConnectionConfig MBean
-
createConnectionMonitor
Creates ObjectName for specified connection monitoring MBean.- Parameters:
id
- Connection ID- Returns:
- ObjectName of ConnectionMonitor MBean
-