|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ResourceAdapter
The main interface for a resource.
Method Summary | |
---|---|
void |
endpointActivation(MessageEndpointFactory endpointFactory,
ActivationSpec spec)
Called during activation of a message endpoint. |
void |
endpointDeactivation(MessageEndpointFactory endpointFactory,
ActivationSpec spec)
Called during deactivation of a message endpoint. |
XAResource[] |
getXAResources(ActivationSpec[] specs)
Called during crash recovery. |
void |
start(BootstrapContext ctx)
Called when the resource adapter is started. |
void |
stop()
Called when the resource adapter is stopped. |
Method Detail |
---|
void start(BootstrapContext ctx) throws ResourceAdapterInternalException
ResourceAdapterInternalException
void stop()
void endpointActivation(MessageEndpointFactory endpointFactory, ActivationSpec spec) throws NotSupportedException, ResourceException
NotSupportedException
ResourceException
void endpointDeactivation(MessageEndpointFactory endpointFactory, ActivationSpec spec)
XAResource[] getXAResources(ActivationSpec[] specs) throws ResourceException
ResourceException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |