|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Operations for lifecycle management and message endpoint configuration. Implementations of this interface must be javabeans
Method Summary | |
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 |
Method Detail |
public void start(BootstrapContext ctx) throws ResourceAdapterInternalException
ctx
- the bootstrap context
ResourceAdapterInternalException
- for a bootstrap failurepublic void stop()
public void endpointActivation(MessageEndpointFactory endpointFactory, ActivationSpec spec) throws ResourceException
endpointFactory
- the endpoint factoryspec
- the activation spec
ResourceException
- for a generic error
NotSupportedException
- for incorrect activationpublic void endpointDeactivation(MessageEndpointFactory endpointFactory, ActivationSpec spec)
endpointFactory
- the endpoint factoryspec
- the activation specpublic XAResource[] getXAResources(ActivationSpec[] specs) throws ResourceException
specs
- the activation specs
ResourceException
- for a generic error
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |