Class ObjectNameBuilder
java.lang.Object
org.apache.activemq.artemis.api.core.management.ObjectNameBuilder
Helper class to build ObjectNames for ActiveMQ Artemis resources.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ObjectNameBuilder
Default JMX domain for ActiveMQ Artemis resources. -
Method Summary
Modifier and TypeMethodDescriptionstatic ObjectNameBuilder
static ObjectNameBuilder
static ObjectNameBuilder
getAcceptorObjectName
(String name) Returns the ObjectName used by AcceptorControl.Returns the ObjectName used by the singleActiveMQServerControl
.getAddressObjectName
(SimpleString address) Returns the ObjectName used by AddressControl.getBridgeObjectName
(String name) Returns the ObjectName used by BridgeControl.Returns the ObjectName used by BroadcastGroupControl.Returns the base ObjectName string used by for outgoing broker connections and possibly broker connection services that are registered by broker connection specific features.Returns the ObjectName used by broker connection management objects for outgoing connections.Returns the ObjectName used by ClusterConnectionControl.Returns the ObjectName used by ConnectionRouterControl.getDivertObjectName
(String name, String address) Returns the ObjectName used by DivertControl.Deprecated.getQueueObjectName
(SimpleString address, SimpleString name, RoutingType routingType) Returns the ObjectName used by QueueControl.
-
Field Details
-
DEFAULT
Default JMX domain for ActiveMQ Artemis resources.
-
-
Method Details
-
create
-
create
-
create
-
getActiveMQServerObjectName
Returns the ObjectName used by the singleActiveMQServerControl
.- Throws:
Exception
-
getAddressObjectName
Returns the ObjectName used by AddressControl.- Throws:
Exception
- See Also:
-
getQueueObjectName
public ObjectName getQueueObjectName(SimpleString address, SimpleString name, RoutingType routingType) throws Exception Returns the ObjectName used by QueueControl.- Throws:
Exception
- See Also:
-
getDivertObjectName
Returns the ObjectName used by DivertControl.- Throws:
Exception
- See Also:
-
getAcceptorObjectName
Returns the ObjectName used by AcceptorControl.- Throws:
Exception
- See Also:
-
getBroadcastGroupObjectName
Returns the ObjectName used by BroadcastGroupControl.- Throws:
Exception
- See Also:
-
getBrokerConnectionObjectName
Returns the ObjectName used by broker connection management objects for outgoing connections.- Throws:
Exception
- See Also:
-
getBrokerConnectionBaseObjectNameString
Returns the base ObjectName string used by for outgoing broker connections and possibly broker connection services that are registered by broker connection specific features. This value is pre-quoted and ready for use in an ObjectName.getIstnace call but is intended for use by broker connection components to create names specific to a broker connection feature that registers its own object for management.- Returns:
- the base object name string that is used for broker connection Object names.
- Throws:
Exception
- See Also:
-
getBridgeObjectName
Returns the ObjectName used by BridgeControl.- Throws:
Exception
- See Also:
-
getClusterConnectionObjectName
Returns the ObjectName used by ClusterConnectionControl.- Throws:
Exception
- See Also:
-
getConnectionRouterObjectName
Returns the ObjectName used by ConnectionRouterControl.- Throws:
Exception
- See Also:
-
getManagementContextObjectName
Deprecated.- Throws:
Exception
-
getSecurityObjectName
- Throws:
Exception
-