public class ResourceAdapterWrapper extends Object implements javax.resource.spi.ResourceAdapter
| Modifier and Type | Field and Description |
|---|---|
protected javax.resource.spi.ResourceAdapter |
resourceAdapter |
| Constructor and Description |
|---|
ResourceAdapterWrapper()
default constructor for enhancement proxy endpoint
|
ResourceAdapterWrapper(String name,
javax.resource.spi.ResourceAdapter resourceAdapter,
Map<String,String> messageListenerToActivationSpecMap,
javax.resource.spi.BootstrapContext bootstrapContext,
RecoverableTransactionManager transactionManager,
javax.validation.ValidatorFactory validatorFactory) |
ResourceAdapterWrapper(String name,
String resourceAdapterClass,
Map<String,String> messageListenerToActivationSpecMap,
javax.resource.spi.BootstrapContext bootstrapContext,
RecoverableTransactionManager transactionManager,
ClassLoader cl,
javax.validation.ValidatorFactory validatorFactory) |
| Modifier and Type | Method and Description |
|---|---|
void |
deregisterRecovery(String containerId) |
void |
doFail() |
void |
doRecovery(javax.resource.spi.ActivationSpec activationSpec,
String containerId) |
void |
doStart() |
void |
doStop() |
void |
endpointActivation(javax.resource.spi.endpoint.MessageEndpointFactory messageEndpointFactory,
javax.resource.spi.ActivationSpec activationSpec) |
void |
endpointDeactivation(javax.resource.spi.endpoint.MessageEndpointFactory messageEndpointFactory,
javax.resource.spi.ActivationSpec activationSpec) |
Map<String,String> |
getMessageListenerToActivationSpecMap() |
String |
getName() |
javax.resource.spi.ResourceAdapter |
getResourceAdapter() |
String |
getResourceAdapterClass() |
XAResource[] |
getXAResources(javax.resource.spi.ActivationSpec[] specs) |
void |
registerResourceAdapterAssociation(javax.resource.spi.ResourceAdapterAssociation resourceAdapterAssociation) |
void |
start(javax.resource.spi.BootstrapContext ctx) |
void |
stop() |
public ResourceAdapterWrapper()
public ResourceAdapterWrapper(String name, String resourceAdapterClass, Map<String,String> messageListenerToActivationSpecMap, javax.resource.spi.BootstrapContext bootstrapContext, RecoverableTransactionManager transactionManager, ClassLoader cl, javax.validation.ValidatorFactory validatorFactory) throws InstantiationException, IllegalAccessException, ClassNotFoundException
public ResourceAdapterWrapper(String name, javax.resource.spi.ResourceAdapter resourceAdapter, Map<String,String> messageListenerToActivationSpecMap, javax.resource.spi.BootstrapContext bootstrapContext, RecoverableTransactionManager transactionManager, javax.validation.ValidatorFactory validatorFactory)
public String getName()
public String getResourceAdapterClass()
public Map<String,String> getMessageListenerToActivationSpecMap()
public javax.resource.spi.ResourceAdapter getResourceAdapter()
public void registerResourceAdapterAssociation(javax.resource.spi.ResourceAdapterAssociation resourceAdapterAssociation)
throws javax.resource.ResourceException
javax.resource.ResourceExceptionpublic void start(javax.resource.spi.BootstrapContext ctx)
throws javax.resource.spi.ResourceAdapterInternalException
start in interface javax.resource.spi.ResourceAdapterjavax.resource.spi.ResourceAdapterInternalExceptionpublic void stop()
stop in interface javax.resource.spi.ResourceAdapterpublic void endpointActivation(javax.resource.spi.endpoint.MessageEndpointFactory messageEndpointFactory,
javax.resource.spi.ActivationSpec activationSpec)
throws javax.resource.ResourceException
endpointActivation in interface javax.resource.spi.ResourceAdapterjavax.resource.ResourceExceptionpublic void doRecovery(javax.resource.spi.ActivationSpec activationSpec,
String containerId)
public void deregisterRecovery(String containerId)
public void endpointDeactivation(javax.resource.spi.endpoint.MessageEndpointFactory messageEndpointFactory,
javax.resource.spi.ActivationSpec activationSpec)
endpointDeactivation in interface javax.resource.spi.ResourceAdapterpublic XAResource[] getXAResources(javax.resource.spi.ActivationSpec[] specs) throws javax.resource.ResourceException
getXAResources in interface javax.resource.spi.ResourceAdapterjavax.resource.ResourceExceptionpublic void doStop()
public void doFail()
Copyright © 2023. All rights reserved.