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.getRemoteBrokerConnectionBaseObjectNameString
(String nodeId, String name) Returns the base ObjectName string used by for incoming broker connections and possibly broker connection services that are registered by broker connection specific features.getRemoteBrokerConnectionObjectName
(String nodeId, String name) Returns the ObjectName used by remote broker connection management objects for incoming connections.
-
Field Details
-
DEFAULT
Default JMX domain for ActiveMQ Artemis resources.
-
-
Method Details
-
create
-
create
-
create
-
getActiveMQServerObjectName
Returns the ObjectName used by the singleActiveMQServerControl
.- Returns:
- the ObjectName used by the single
ActiveMQServerControl
- Throws:
Exception
-
getAddressObjectName
Returns the ObjectName used by AddressControl.- 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.- Returns:
- the ObjectName used by QueueControl
- Throws:
Exception
- See Also:
-
getDivertObjectName
Returns the ObjectName used by DivertControl.- Returns:
- the ObjectName used by DivertControl
- Throws:
Exception
- See Also:
-
getAcceptorObjectName
Returns the ObjectName used by AcceptorControl.- Returns:
- the ObjectName used by AcceptorControl
- Throws:
Exception
- See Also:
-
getBroadcastGroupObjectName
Returns the ObjectName used by BroadcastGroupControl.- Returns:
- the ObjectName used by BroadcastGroupControl
- Throws:
Exception
- See Also:
-
getBrokerConnectionObjectName
Returns the ObjectName used by broker connection management objects for outgoing connections.- 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.- Parameters:
name
- The broker connection name- Returns:
- the base object name string that is used for broker connection Object names
- Throws:
Exception
- See Also:
-
getRemoteBrokerConnectionObjectName
Returns the ObjectName used by remote broker connection management objects for incoming connections.- Returns:
- the ObjectName used by remote broker connection management objects for incoming connections
- Throws:
Exception
- See Also:
-
getRemoteBrokerConnectionBaseObjectNameString
public String getRemoteBrokerConnectionBaseObjectNameString(String nodeId, String name) throws Exception Returns the base ObjectName string used by for incoming 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.- Parameters:
nodeId
- The node ID of the remote broker that initiated the broker connection.name
- The broker connection name configured on the initiating broker.- Returns:
- the base object name string that is used for broker connection Object names
- Throws:
Exception
-
getBridgeObjectName
Returns the ObjectName used by BridgeControl.- Returns:
- the ObjectName used by BridgeControl
- Throws:
Exception
- See Also:
-
getClusterConnectionObjectName
Returns the ObjectName used by ClusterConnectionControl.- Returns:
- the ObjectName used by ClusterConnectionControl
- Throws:
Exception
- See Also:
-
getConnectionRouterObjectName
Returns the ObjectName used by ConnectionRouterControl.- Returns:
- the ObjectName used by ConnectionRouterControl
- Throws:
Exception
- See Also:
-
getManagementContextObjectName
Deprecated.- Throws:
Exception
-
getSecurityObjectName
- Throws:
Exception
-