Class MessagingServices
- java.lang.Object
-
- org.wildfly.extension.messaging.activemq.MessagingServices
-
public class MessagingServices extends Object
- Author:
- Emanuel Muckenhuber
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMessagingServices.ServerNameMapper
-
Field Summary
Fields Modifier and Type Field Description static org.jboss.msc.service.ServiceNameACTIVEMQ_CLIENT_THREAD_POOLstatic StringLOCAL_TRANSACTION_PROVIDER_CAPABILITYName of the capability that ensures a local provider of transactions is present.static StringTRANSACTION_XA_RESOURCE_RECOVERY_REGISTRY_CAPABILITYThe capability name for the transaction XAResourceRecoveryRegistry.
-
Constructor Summary
Constructors Constructor Description MessagingServices()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.jboss.as.controller.PathAddressgetActiveMQServerPathAddress(org.jboss.as.controller.PathAddress pathAddress)static org.jboss.msc.service.ServiceNamegetActiveMQServiceName()static org.jboss.msc.service.ServiceNamegetActiveMQServiceName(String serverName)static org.jboss.msc.service.ServiceNamegetActiveMQServiceName(org.jboss.as.controller.PathAddress pathAddress)static org.jboss.msc.service.ServiceNamegetBroadcastCommandDispatcherFactoryServiceName(String channelName)static org.jboss.msc.service.ServiceNamegetCapabilityServiceName(String capabilityBaseName, String... dynamicParts)Determines a ServiceName from a capability name.static org.jboss.msc.service.ServiceNamegetJMSBridgeServiceName(String bridgeName)static org.jboss.msc.service.ServiceNamegetQueueBaseServiceName(org.jboss.msc.service.ServiceName serverServiceName)static booleanisSubsystemResource(org.jboss.as.controller.OperationContext context)
-
-
-
Field Detail
-
ACTIVEMQ_CLIENT_THREAD_POOL
public static final org.jboss.msc.service.ServiceName ACTIVEMQ_CLIENT_THREAD_POOL
-
LOCAL_TRANSACTION_PROVIDER_CAPABILITY
public static final String LOCAL_TRANSACTION_PROVIDER_CAPABILITY
Name of the capability that ensures a local provider of transactions is present. Once its service is started, calls to the getInstance() methods of ContextTransactionManager, ContextTransactionSynchronizationRegistry and LocalUserTransaction can be made knowing that the global default TM, TSR and UT will be from that provider.- See Also:
- Constant Field Values
-
TRANSACTION_XA_RESOURCE_RECOVERY_REGISTRY_CAPABILITY
public static final String TRANSACTION_XA_RESOURCE_RECOVERY_REGISTRY_CAPABILITY
The capability name for the transaction XAResourceRecoveryRegistry.- See Also:
- Constant Field Values
-
-
Method Detail
-
getActiveMQServiceName
public static org.jboss.msc.service.ServiceName getActiveMQServiceName(org.jboss.as.controller.PathAddress pathAddress)
-
getActiveMQServerPathAddress
public static org.jboss.as.controller.PathAddress getActiveMQServerPathAddress(org.jboss.as.controller.PathAddress pathAddress)
-
getActiveMQServiceName
public static org.jboss.msc.service.ServiceName getActiveMQServiceName()
-
getActiveMQServiceName
public static org.jboss.msc.service.ServiceName getActiveMQServiceName(String serverName)
-
getQueueBaseServiceName
public static org.jboss.msc.service.ServiceName getQueueBaseServiceName(org.jboss.msc.service.ServiceName serverServiceName)
-
getJMSBridgeServiceName
public static org.jboss.msc.service.ServiceName getJMSBridgeServiceName(String bridgeName)
-
getBroadcastCommandDispatcherFactoryServiceName
public static org.jboss.msc.service.ServiceName getBroadcastCommandDispatcherFactoryServiceName(String channelName)
-
getCapabilityServiceName
public static org.jboss.msc.service.ServiceName getCapabilityServiceName(String capabilityBaseName, String... dynamicParts)
Determines a ServiceName from a capability name. Only supported for use by services installed by this subsystem; will not function reliably until the subsystem has begun adding runtime services.- Parameters:
capabilityBaseName- the base name of the capability, or its full name if it is not dynamicdynamicParts- any dynamic parts of the capability name. May benull- Returns:
- the service name
- Throws:
IllegalStateException- if invoked before the subsystem has begun adding runtime services
-
isSubsystemResource
public static boolean isSubsystemResource(org.jboss.as.controller.OperationContext context)
-
-