Package org.jboss.as.connector.util
Class ConnectorServices
java.lang.Object
org.jboss.as.connector.util.ConnectorServices
ConnectorServices contains some utility methods used internally and constants for all connector's subsystems service names.
- Author:
- Stefano Maestri, Jesper Pedersen
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.jboss.msc.service.ServiceNamestatic final org.jboss.msc.service.ServiceNamestatic final org.jboss.msc.service.ServiceNamestatic final org.jboss.msc.service.ServiceNamestatic final org.jboss.msc.service.ServiceNamestatic final org.jboss.msc.service.ServiceNamestatic final org.jboss.msc.service.ServiceNamestatic final org.jboss.msc.service.ServiceNamestatic final org.jboss.msc.service.ServiceNamestatic final org.jboss.msc.service.ServiceNamestatic final org.jboss.msc.service.ServiceNameMDR service name *static final org.jboss.msc.service.ServiceNamestatic final org.jboss.msc.service.ServiceNamestatic final StringName of the capability that ensures a local provider of transactions is present.static final org.jboss.msc.service.ServiceNamestatic final org.jboss.msc.service.ServiceNamestatic final org.jboss.msc.service.ServiceNamestatic final org.jboss.msc.service.ServiceNamestatic final org.jboss.msc.service.ServiceNamestatic final org.jboss.msc.service.ServiceNamestatic final org.jboss.msc.service.ServiceNamestatic final org.jboss.msc.service.ServiceNamestatic final org.jboss.msc.service.ServiceNamestatic final org.jboss.msc.service.ServiceNamestatic final org.jboss.msc.service.ServiceNamestatic final org.jboss.msc.service.ServiceNamestatic final Stringstatic final org.jboss.msc.service.ServiceNamestatic final StringThe capability name for the JCA transaction integration TransactionIntegration.static final org.jboss.msc.service.ServiceNameDeprecated.Use the "org.wildfly.jca.transaction-integration" capability.static final StringThe capability name for the transaction TransactionSynchronizationRegistry.static final StringThe capability name for the transaction XAResourceRecoveryRegistry.static final org.jboss.msc.service.ServiceNamestatic final org.jboss.msc.service.ServiceName -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.jboss.msc.service.ServiceNamegetCachedCapabilityServiceName(String capabilityName) static org.jboss.msc.service.ServiceNamegetDeploymentServiceName(String raName) static org.jboss.msc.service.ServiceNamegetDeploymentServiceName(String raName, String raId) static org.jboss.msc.service.ServiceNamegetDeploymentServiceName(String raName, org.jboss.jca.common.api.metadata.resourceadapter.Activation raxml) static StringReturns the identifier with which the resource adapter namedraNameis registered in theResourceAdapterRepository.static org.jboss.msc.service.ServiceNamestatic <T> TnotNull(T value) convenient method to check notNull of valuestatic voidregisterCapabilityServiceName(String capabilityName, org.jboss.msc.service.ServiceName serviceName) static voidregisterResourceAdapterIdentifier(String raName, String raIdentifier) Makes a note of the resource adapter identifier with which a resource adapter namedraNameis registered in theResourceAdapterRepository.static voidClears the mapping between theraNameand the resource adapter identifier, with which the resource adapter is registered with theResourceAdapterRepository
-
Field Details
-
CONNECTOR_CONFIG_SERVICE
public static final org.jboss.msc.service.ServiceName CONNECTOR_CONFIG_SERVICE -
BEAN_VALIDATION_CONFIG_SERVICE
public static final org.jboss.msc.service.ServiceName BEAN_VALIDATION_CONFIG_SERVICE -
TRACER_CONFIG_SERVICE
public static final org.jboss.msc.service.ServiceName TRACER_CONFIG_SERVICE -
ARCHIVE_VALIDATION_CONFIG_SERVICE
public static final org.jboss.msc.service.ServiceName ARCHIVE_VALIDATION_CONFIG_SERVICE -
BOOTSTRAP_CONTEXT_SERVICE
public static final org.jboss.msc.service.ServiceName BOOTSTRAP_CONTEXT_SERVICE -
TRANSACTION_INTEGRATION_SERVICE
Deprecated.Use the "org.wildfly.jca.transaction-integration" capability. -
WORKMANAGER_SERVICE
public static final org.jboss.msc.service.ServiceName WORKMANAGER_SERVICE -
WORKMANAGER_STATS_SERVICE
public static final org.jboss.msc.service.ServiceName WORKMANAGER_STATS_SERVICE -
DISTRIBUTED_WORKMANAGER_STATS_SERVICE
public static final org.jboss.msc.service.ServiceName DISTRIBUTED_WORKMANAGER_STATS_SERVICE -
RESOURCE_ADAPTER_SERVICE_PREFIX
public static final org.jboss.msc.service.ServiceName RESOURCE_ADAPTER_SERVICE_PREFIX -
STATISTICS_SUFFIX
- See Also:
-
RESOURCE_ADAPTER_DEPLOYMENT_SERVICE_PREFIX
public static final org.jboss.msc.service.ServiceName RESOURCE_ADAPTER_DEPLOYMENT_SERVICE_PREFIX -
RESOURCE_ADAPTER_DEPLOYER_SERVICE_PREFIX
public static final org.jboss.msc.service.ServiceName RESOURCE_ADAPTER_DEPLOYER_SERVICE_PREFIX -
RESOURCE_ADAPTER_REGISTRY_SERVICE
public static final org.jboss.msc.service.ServiceName RESOURCE_ADAPTER_REGISTRY_SERVICE -
RESOURCE_ADAPTER_ACTIVATOR_SERVICE
public static final org.jboss.msc.service.ServiceName RESOURCE_ADAPTER_ACTIVATOR_SERVICE -
INACTIVE_RESOURCE_ADAPTER_SERVICE
public static final org.jboss.msc.service.ServiceName INACTIVE_RESOURCE_ADAPTER_SERVICE -
IRONJACAMAR_MDR
public static final org.jboss.msc.service.ServiceName IRONJACAMAR_MDRMDR service name * -
IRONJACAMAR_RESOURCE
public static final org.jboss.msc.service.ServiceName IRONJACAMAR_RESOURCE -
RA_REPOSITORY_SERVICE
public static final org.jboss.msc.service.ServiceName RA_REPOSITORY_SERVICE -
NON_JTA_DS_RA_REPOSITORY_SERVICE
public static final org.jboss.msc.service.ServiceName NON_JTA_DS_RA_REPOSITORY_SERVICE -
MANAGEMENT_REPOSITORY_SERVICE
public static final org.jboss.msc.service.ServiceName MANAGEMENT_REPOSITORY_SERVICE -
RESOURCEADAPTERS_SERVICE
public static final org.jboss.msc.service.ServiceName RESOURCEADAPTERS_SERVICE -
RESOURCEADAPTERS_SUBSYSTEM_SERVICE
public static final org.jboss.msc.service.ServiceName RESOURCEADAPTERS_SUBSYSTEM_SERVICE -
RA_SERVICE
public static final org.jboss.msc.service.ServiceName RA_SERVICE -
DATASOURCES_SERVICE
public static final org.jboss.msc.service.ServiceName DATASOURCES_SERVICE -
JDBC_DRIVER_REGISTRY_SERVICE
public static final org.jboss.msc.service.ServiceName JDBC_DRIVER_REGISTRY_SERVICE -
CCM_SERVICE
public static final org.jboss.msc.service.ServiceName CCM_SERVICE -
NON_TX_CCM_SERVICE
public static final org.jboss.msc.service.ServiceName NON_TX_CCM_SERVICE -
IDLE_REMOVER_SERVICE
public static final org.jboss.msc.service.ServiceName IDLE_REMOVER_SERVICE -
CONNECTION_VALIDATOR_SERVICE
public static final org.jboss.msc.service.ServiceName CONNECTION_VALIDATOR_SERVICE -
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:
-
TRANSACTION_SYNCHRONIZATION_REGISTRY_CAPABILITY
The capability name for the transaction TransactionSynchronizationRegistry.- See Also:
-
TRANSACTION_XA_RESOURCE_RECOVERY_REGISTRY_CAPABILITY
The capability name for the transaction XAResourceRecoveryRegistry.- See Also:
-
TRANSACTION_INTEGRATION_CAPABILITY_NAME
The capability name for the JCA transaction integration TransactionIntegration.- See Also:
-
-
Constructor Details
-
ConnectorServices
public ConnectorServices()
-
-
Method Details
-
notNull
public static <T> T notNull(T value) convenient method to check notNull of value- Type Parameters:
T- type of the value- Parameters:
value- the value- Returns:
- the value or throw an
IllegalStateExceptionif value is null (a.k.a. service not started)
-
getDeploymentServiceName
public static org.jboss.msc.service.ServiceName getDeploymentServiceName(String raName, org.jboss.jca.common.api.metadata.resourceadapter.Activation raxml) -
getDeploymentServiceName
-
getDeploymentServiceName
-
getResourceAdapterServiceName
-
getRegisteredResourceAdapterIdentifier
Returns the identifier with which the resource adapter namedraNameis registered in theResourceAdapterRepository. Returns null, if there's no registration for a resource adapter namedraName- Parameters:
raName- The resource adapter name- Returns:
-
registerResourceAdapterIdentifier
Makes a note of the resource adapter identifier with which a resource adapter namedraNameis registered in theResourceAdapterRepository. Subsequent calls togetRegisteredResourceAdapterIdentifier(String)with the passedraNamereturn theraIdentifier- Parameters:
raName- The resource adapter nameraIdentifier- The resource adapter identifier
-
unregisterResourceAdapterIdentifier
Clears the mapping between theraNameand the resource adapter identifier, with which the resource adapter is registered with theResourceAdapterRepositorySubsequent calls togetRegisteredResourceAdapterIdentifier(String)with the passedraNamereturn null- Parameters:
raName- The resource adapter name
-
registerCapabilityServiceName
public static void registerCapabilityServiceName(String capabilityName, org.jboss.msc.service.ServiceName serviceName) -
getCachedCapabilityServiceName
public static org.jboss.msc.service.ServiceName getCachedCapabilityServiceName(String capabilityName)
-