|
||||||||||
| PREV CLASS (src) NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.test.jca.adminobject.TestResourceAdapter
A TestResourceAdapter.
| Constructor Summary | |
TestResourceAdapter()
|
|
| 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 |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public TestResourceAdapter()
| Method Detail |
public void endpointActivation(MessageEndpointFactory (src) endpointFactory,
ActivationSpec (src) spec)
throws ResourceException (src)
ResourceAdapter (src)
endpointActivation in interface ResourceAdapter (src) endpointFactory - the endpoint factoryspec - the activation spec
ResourceException (src) - for a generic error
public void endpointDeactivation(MessageEndpointFactory (src) endpointFactory,
ActivationSpec (src) spec)
ResourceAdapter (src)
endpointDeactivation in interface ResourceAdapter (src) endpointFactory - the endpoint factoryspec - the activation spec
public XAResource (src) [] getXAResources(ActivationSpec (src) [] specs)
throws ResourceException (src)
ResourceAdapter (src)
getXAResources in interface ResourceAdapter (src) specs - the activation specs
ResourceException (src) - for a generic error
public void start(BootstrapContext (src) ctx)
throws ResourceAdapterInternalException (src)
ResourceAdapter (src)
start in interface ResourceAdapter (src) ctx - the bootstrap context
ResourceAdapterInternalException (src) - for a bootstrap failurepublic void stop()
ResourceAdapter (src)
stop in interface ResourceAdapter (src)
|
||||||||||
| PREV CLASS (src) NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||