|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | 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 (src) endpointFactory,
ActivationSpec (src) spec)
Activates the endpoint factory |
void |
endpointDeactivation(MessageEndpointFactory (src) endpointFactory,
ActivationSpec (src) spec)
Deactivates the endpoint |
XAResource (src) [] |
getXAResources(ActivationSpec (src) [] specs)
Called by the application server during recovery |
void |
start(BootstrapContext (src) ctx)
Used to bootstrap the resource adapter |
void |
stop()
Used to stop the resource adapter |
Method Detail |
public void start(BootstrapContext (src) ctx) throws ResourceAdapterInternalException (src)
ctx
- the bootstrap context
ResourceAdapterInternalException (src)
- for a bootstrap failurepublic void stop()
public void endpointActivation(MessageEndpointFactory (src) endpointFactory, ActivationSpec (src) spec) throws ResourceException (src)
endpointFactory
- the endpoint factoryspec
- the activation spec
ResourceException (src)
- for a generic error
NotSupportedException
- for incorrect activationpublic void endpointDeactivation(MessageEndpointFactory (src) endpointFactory, ActivationSpec (src) spec)
endpointFactory
- the endpoint factoryspec
- the activation specpublic XAResource (src) [] getXAResources(ActivationSpec (src) [] specs) throws ResourceException (src)
specs
- the activation specs
ResourceException (src)
- for a generic error
|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |