public class ConnectorServices extends Object
Modifier and Type | Field and Description |
---|---|
static org.jboss.msc.service.ServiceName |
ARCHIVE_VALIDATION_CONFIG_SERVICE |
static org.jboss.msc.service.ServiceName |
BEAN_VALIDATION_CONFIG_SERVICE |
static org.jboss.msc.service.ServiceName |
BOOTSTRAP_CONTEXT_SERVICE |
static org.jboss.msc.service.ServiceName |
CCM_SERVICE |
static org.jboss.msc.service.ServiceName |
CONNECTION_VALIDATOR_SERVICE |
static org.jboss.msc.service.ServiceName |
CONNECTOR_CONFIG_SERVICE |
static org.jboss.msc.service.ServiceName |
DATASOURCES_SERVICE |
static org.jboss.msc.service.ServiceName |
IDLE_REMOVER_SERVICE |
static org.jboss.msc.service.ServiceName |
INACTIVE_RESOURCE_ADAPTER_SERVICE |
static org.jboss.msc.service.ServiceName |
IRONJACAMAR_MDR
MDR service name *
|
static org.jboss.msc.service.ServiceName |
JDBC_DRIVER_REGISTRY_SERVICE |
static org.jboss.msc.service.ServiceName |
MANAGEMENT_REPOSITORY_SERVICE |
static org.jboss.msc.service.ServiceName |
RA_REPOSITORY_SERVICE |
static org.jboss.msc.service.ServiceName |
RA_SERVICE |
static org.jboss.msc.service.ServiceName |
RESOURCE_ADAPTER_ACTIVATOR_SERVICE |
static org.jboss.msc.service.ServiceName |
RESOURCE_ADAPTER_DEPLOYER_SERVICE_PREFIX |
static org.jboss.msc.service.ServiceName |
RESOURCE_ADAPTER_DEPLOYMENT_SERVICE_PREFIX |
static org.jboss.msc.service.ServiceName |
RESOURCE_ADAPTER_REGISTRY_SERVICE |
static org.jboss.msc.service.ServiceName |
RESOURCE_ADAPTER_SERVICE_PREFIX |
static org.jboss.msc.service.ServiceName |
RESOURCEADAPTERS_SERVICE |
static org.jboss.msc.service.ServiceName |
TRANSACTION_INTEGRATION_SERVICE |
static org.jboss.msc.service.ServiceName |
WORKMANAGER_SERVICE |
Constructor and Description |
---|
ConnectorServices() |
Modifier and Type | Method and Description |
---|---|
static org.jboss.msc.service.ServiceName |
getDeploymentServiceName(String raName) |
static org.jboss.msc.service.ServiceName |
getDeploymentServiceName(String raName,
org.jboss.jca.common.api.metadata.resourceadapter.ResourceAdapter raxml) |
static org.jboss.msc.service.ServiceName |
getDeploymentServiceName(String raName,
String raId) |
static String |
getRegisteredResourceAdapterIdentifier(String raName)
Returns the identifier with which the resource adapter named
raName is registered in the
ResourceAdapterRepository . |
static org.jboss.msc.service.ServiceName |
getResourceAdapterServiceName(String raName)
Returns the
ServiceName s of the activations of the resource adapter named raName . |
static org.jboss.msc.service.ServiceName |
getResourceAdapterServiceName(String raName,
org.jboss.jca.common.api.metadata.resourceadapter.ResourceAdapter raxml) |
static <T> T |
notNull(T value)
convenient method to check notNull of value
|
static void |
registerResourceAdapterIdentifier(String raName,
String raIdentifier)
Makes a note of the resource adapter identifier with which a resource adapter named
raName is registered in
the ResourceAdapterRepository . |
static void |
unregisterResourceAdapterIdentifier(String raName)
Clears the mapping between the
raName and the resource adapter identifier, with which the resource adapter
is registered with the ResourceAdapterRepository
Subsequent calls to getRegisteredResourceAdapterIdentifier(String) with the passed raName return
null |
public static final org.jboss.msc.service.ServiceName CONNECTOR_CONFIG_SERVICE
public static final org.jboss.msc.service.ServiceName BEAN_VALIDATION_CONFIG_SERVICE
public static final org.jboss.msc.service.ServiceName ARCHIVE_VALIDATION_CONFIG_SERVICE
public static final org.jboss.msc.service.ServiceName BOOTSTRAP_CONTEXT_SERVICE
public static final org.jboss.msc.service.ServiceName TRANSACTION_INTEGRATION_SERVICE
public static final org.jboss.msc.service.ServiceName WORKMANAGER_SERVICE
public static final org.jboss.msc.service.ServiceName RESOURCE_ADAPTER_SERVICE_PREFIX
public static final org.jboss.msc.service.ServiceName RESOURCE_ADAPTER_DEPLOYMENT_SERVICE_PREFIX
public static final org.jboss.msc.service.ServiceName RESOURCE_ADAPTER_DEPLOYER_SERVICE_PREFIX
public static final org.jboss.msc.service.ServiceName RESOURCE_ADAPTER_REGISTRY_SERVICE
public static final org.jboss.msc.service.ServiceName RESOURCE_ADAPTER_ACTIVATOR_SERVICE
public static final org.jboss.msc.service.ServiceName INACTIVE_RESOURCE_ADAPTER_SERVICE
public static final org.jboss.msc.service.ServiceName IRONJACAMAR_MDR
public static final org.jboss.msc.service.ServiceName RA_REPOSITORY_SERVICE
public static final org.jboss.msc.service.ServiceName MANAGEMENT_REPOSITORY_SERVICE
public static final org.jboss.msc.service.ServiceName RESOURCEADAPTERS_SERVICE
public static final org.jboss.msc.service.ServiceName RA_SERVICE
public static final org.jboss.msc.service.ServiceName DATASOURCES_SERVICE
public static final org.jboss.msc.service.ServiceName JDBC_DRIVER_REGISTRY_SERVICE
public static final org.jboss.msc.service.ServiceName CCM_SERVICE
public static final org.jboss.msc.service.ServiceName IDLE_REMOVER_SERVICE
public static final org.jboss.msc.service.ServiceName CONNECTION_VALIDATOR_SERVICE
public static <T> T notNull(T value)
T
- type of the valuevalue
- the valueIllegalStateException
if value is null (a.k.a. service not started)public static org.jboss.msc.service.ServiceName getDeploymentServiceName(String raName, org.jboss.jca.common.api.metadata.resourceadapter.ResourceAdapter raxml)
public static org.jboss.msc.service.ServiceName getDeploymentServiceName(String raName, String raId)
public static org.jboss.msc.service.ServiceName getDeploymentServiceName(String raName)
public static org.jboss.msc.service.ServiceName getResourceAdapterServiceName(String raName, org.jboss.jca.common.api.metadata.resourceadapter.ResourceAdapter raxml)
public static org.jboss.msc.service.ServiceName getResourceAdapterServiceName(String raName)
ServiceName
s of the activations of the resource adapter named raName
. The returned
service names can be used by other services to add dependency on the resource adapter activations.raName
- The resource adapter namepublic static String getRegisteredResourceAdapterIdentifier(String raName)
raName
is registered in the
ResourceAdapterRepository
. Returns null, if there's no registration for a resource
adapter named raName
raName
- The resource adapter namepublic static void registerResourceAdapterIdentifier(String raName, String raIdentifier)
raName
is registered in
the ResourceAdapterRepository
.
Subsequent calls to getRegisteredResourceAdapterIdentifier(String)
with the passed raName
return
the raIdentifier
raName
- The resource adapter nameraIdentifier
- The resource adapter identifierpublic static void unregisterResourceAdapterIdentifier(String raName)
raName
and the resource adapter identifier, with which the resource adapter
is registered with the ResourceAdapterRepository
Subsequent calls to getRegisteredResourceAdapterIdentifier(String)
with the passed raName
return
nullraName
- The resource adapter nameCopyright © 2013 JBoss by Red Hat. All rights reserved.