@Service @Singleton public class ResourceAdapterConfigDeployer extends AbstractConnectorResourceDeployer
Constructor and Description |
---|
ResourceAdapterConfigDeployer() |
Modifier and Type | Method and Description |
---|---|
void |
deployResource(Object resource)
Deploy the resource into the server's runtime naming context
|
void |
deployResource(Object resource,
String applicationName,
String moduleName)
Deploy the resource into the server's runtime naming context
This API is used in cases where the "config" bean is not
yet persisted in domain.xml and is part of the "config" transaction.
|
void |
disableResource(Object resource)
Disable the resource in the server's runtime naming context
|
void |
enableResource(Object resource)
Enable the resource in the server's runtime naming context
|
Class[] |
getProxyClassesForDynamicReconfiguration()
List of classes which need to be proxied for dynamic-reconfiguration
|
boolean |
handles(Object resource)
Indicates whether a particular resource deployer can handle the
resource in question
|
void |
redeployResource(Object resource)
Redeploy the resource into the server's runtime naming context
|
boolean |
supportsDynamicReconfiguration()
Indicates whether the resource deployer can handle
transparent-dynamic-reconfiguration of resource
|
void |
undeployResource(Object resource)
Undeploy the resource from the server's runtime naming context
|
void |
undeployResource(Object resource,
String applicationName,
String moduleName)
Undeploy the resource from the server's runtime naming context
|
canDeploy, validatePreservedResource, validateResourcesForStaleReference
public void deployResource(Object resource, String applicationName, String moduleName) throws Exception
resource
- a resource object (eg. JmsResource)applicationName
- application-namemoduleName
- module-nameException
- thrown if failpublic void deployResource(Object resource) throws Exception
resource
- a resource object (eg. JmsResource)Exception
- thrown if failpublic void undeployResource(Object resource, String applicationName, String moduleName) throws Exception
resource
- a resource object (eg. JmsResource)applicationName
- application-namemoduleName
- module-nameException
- thrown if failpublic void undeployResource(Object resource) throws Exception
resource
- a resource object (eg. JmsResource)Exception
- thrown if failpublic void redeployResource(Object resource) throws Exception
resource
- a resource objectException
- thrown if failpublic boolean handles(Object resource)
resource
- resource that need to be handledpublic boolean supportsDynamicReconfiguration()
ResourceDeployer
public Class[] getProxyClassesForDynamicReconfiguration()
ResourceDeployer
public void disableResource(Object resource) throws Exception
resource
- a resource object (eg. JmsResource)Exception
- thrown if failCopyright © 2019. All rights reserved.