public final 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 String |
RA_SERVICE_NAME_SEPARATOR |
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 |
Modifier and Type | Method and Description |
---|---|
static org.jboss.msc.service.ServiceName |
getDeploymentServiceName(String raName) |
static String |
getRegisteredResourceAdapterIdentifier(String raName)
Returns the identifier with which the resource adapter named
raName is registered
in the ResourceAdapterRepository . |
static Set<org.jboss.msc.service.ServiceName> |
getResourceAdapterServiceNames(String raName)
Returns the
ServiceName s of the activations of the resource adapter named raName . |
static Integer |
getResourceIdentifier(String raName) |
static <T> T |
notNull(T value)
convenient method to check notNull of value
|
static org.jboss.msc.service.ServiceName |
registerDeployment(String raName) |
static org.jboss.msc.service.ServiceName |
registerResourceAdapter(String raName) |
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 |
unregisterDeployment(String raName,
org.jboss.msc.service.ServiceName serviceName) |
static void |
unregisterResourceAdapter(String raName,
org.jboss.msc.service.ServiceName serviceName) |
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 |
static void |
unregisterResourceIdentifier(String raName,
Integer identifier) |
static void |
unregisterResourceIdentifiers(String raName) |
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 final String RA_SERVICE_NAME_SEPARATOR
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 void unregisterResourceIdentifier(String raName, Integer identifier)
public static void unregisterResourceIdentifiers(String raName)
public static org.jboss.msc.service.ServiceName registerDeployment(String raName)
public static org.jboss.msc.service.ServiceName getDeploymentServiceName(String raName)
public static void unregisterDeployment(String raName, org.jboss.msc.service.ServiceName serviceName)
public static org.jboss.msc.service.ServiceName registerResourceAdapter(String raName)
public static void unregisterResourceAdapter(String raName, org.jboss.msc.service.ServiceName serviceName)
public static Set<org.jboss.msc.service.ServiceName> getResourceAdapterServiceNames(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 © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.