public interface ResourceAdapter
| Modifier and Type | Method and Description |
|---|---|
void |
endpointActivation(MessageEndpointFactory endpointFactory,
ActivationSpec spec)
Activates the endpoint factory
|
void |
endpointDeactivation(MessageEndpointFactory endpointFactory,
ActivationSpec spec)
Deactivates the endpoint
|
XAResource[] |
getXAResources(ActivationSpec[] specs)
Called by the application server during recovery
|
void |
start(BootstrapContext ctx)
Used to bootstrap the resource adapter
|
void |
stop()
Used to stop the resource adapter
|
void start(BootstrapContext ctx) throws ResourceAdapterInternalException
ctx - the bootstrap contextResourceAdapterInternalException - for a bootstrap failurevoid stop()
void endpointActivation(MessageEndpointFactory endpointFactory, ActivationSpec spec) throws ResourceException
endpointFactory - the endpoint factoryspec - the activation specResourceException - for a generic errorNotSupportedException - for incorrect activationvoid endpointDeactivation(MessageEndpointFactory endpointFactory, ActivationSpec spec)
endpointFactory - the endpoint factoryspec - the activation specXAResource[] getXAResources(ActivationSpec[] specs) throws ResourceException
specs - the activation specsResourceException - for a generic errorCopyright © 2012 JBoss by Red Hat. All Rights Reserved.