org.hornetq.api.core.management
Class ObjectNameBuilder

java.lang.Object
  extended by org.hornetq.api.core.management.ObjectNameBuilder

public final class ObjectNameBuilder
extends Object

Helper class to build ObjectNames for HornetQ resources.

Author:
Jeff Mesnil

Field Summary
static ObjectNameBuilder DEFAULT
          Default JMX domain for HornetQ resources.
 
Method Summary
static ObjectNameBuilder create(String domain)
           
 ObjectName getAcceptorObjectName(String name)
          Returns the ObjectName used by AcceptorControl.
 ObjectName getAddressObjectName(org.hornetq.api.core.SimpleString address)
          Returns the ObjectName used by AddressControl.
 ObjectName getBridgeObjectName(String name)
          Returns the ObjectName used by BridgeControl.
 ObjectName getBroadcastGroupObjectName(String name)
          Returns the ObjectName used by BroadcastGroupControl.
 ObjectName getClusterConnectionObjectName(String name)
          Returns the ObjectName used by ClusterConnectionControl.
 ObjectName getConnectionFactoryObjectName(String name)
          Returns the ObjectName used by ConnectionFactoryControl.
 ObjectName getDiscoveryGroupObjectName(String name)
          Returns the ObjectName used by DiscoveryGroupControl.
 ObjectName getDivertObjectName(String name)
          Returns the ObjectName used by DivertControl.
 ObjectName getHornetQServerObjectName()
          Returns the ObjectName used by the single HornetQServerControl.
 ObjectName getJMSQueueObjectName(String name)
          Returns the ObjectName used by JMSQueueControl.
 ObjectName getJMSServerObjectName()
          Returns the ObjectName used by JMSServerControl.
 ObjectName getJMSTopicObjectName(String name)
          Returns the ObjectName used by TopicControl.
 ObjectName getQueueObjectName(org.hornetq.api.core.SimpleString address, org.hornetq.api.core.SimpleString name)
          Returns the ObjectName used by QueueControl.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT

public static final ObjectNameBuilder DEFAULT
Default JMX domain for HornetQ resources.

Method Detail

create

public static ObjectNameBuilder create(String domain)

getHornetQServerObjectName

public ObjectName getHornetQServerObjectName()
                                      throws Exception
Returns the ObjectName used by the single HornetQServerControl.

Throws:
Exception

getAddressObjectName

public ObjectName getAddressObjectName(org.hornetq.api.core.SimpleString address)
                                throws Exception
Returns the ObjectName used by AddressControl.

Throws:
Exception
See Also:
AddressControl

getQueueObjectName

public ObjectName getQueueObjectName(org.hornetq.api.core.SimpleString address,
                                     org.hornetq.api.core.SimpleString name)
                              throws Exception
Returns the ObjectName used by QueueControl.

Throws:
Exception
See Also:
QueueControl

getDivertObjectName

public ObjectName getDivertObjectName(String name)
                               throws Exception
Returns the ObjectName used by DivertControl.

Throws:
Exception
See Also:
DivertControl

getAcceptorObjectName

public ObjectName getAcceptorObjectName(String name)
                                 throws Exception
Returns the ObjectName used by AcceptorControl.

Throws:
Exception
See Also:
AcceptorControl

getBroadcastGroupObjectName

public ObjectName getBroadcastGroupObjectName(String name)
                                       throws Exception
Returns the ObjectName used by BroadcastGroupControl.

Throws:
Exception
See Also:
BroadcastGroupControl

getBridgeObjectName

public ObjectName getBridgeObjectName(String name)
                               throws Exception
Returns the ObjectName used by BridgeControl.

Throws:
Exception
See Also:
BridgeControl

getClusterConnectionObjectName

public ObjectName getClusterConnectionObjectName(String name)
                                          throws Exception
Returns the ObjectName used by ClusterConnectionControl.

Throws:
Exception
See Also:
ClusterConnectionControl

getDiscoveryGroupObjectName

public ObjectName getDiscoveryGroupObjectName(String name)
                                       throws Exception
Returns the ObjectName used by DiscoveryGroupControl.

Throws:
Exception
See Also:
DiscoveryGroupControl

getJMSServerObjectName

public ObjectName getJMSServerObjectName()
                                  throws Exception
Returns the ObjectName used by JMSServerControl.

Throws:
Exception
See Also:
org.hornetq.api.jms.management.JMSServerControl

getJMSQueueObjectName

public ObjectName getJMSQueueObjectName(String name)
                                 throws Exception
Returns the ObjectName used by JMSQueueControl.

Throws:
Exception
See Also:
org.hornetq.api.jms.management.JMSQueueControl

getJMSTopicObjectName

public ObjectName getJMSTopicObjectName(String name)
                                 throws Exception
Returns the ObjectName used by TopicControl.

Throws:
Exception
See Also:
TopicControl

getConnectionFactoryObjectName

public ObjectName getConnectionFactoryObjectName(String name)
                                          throws Exception
Returns the ObjectName used by ConnectionFactoryControl.

Throws:
Exception
See Also:
org.hornetq.api.jms.management.ConnectionFactoryControl


Copyright © 2013 JBoss, a division of Red Hat. All Rights Reserved.