|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.jca.AbstractResourceAdapter
public class AbstractResourceAdapter
Convenience class for the ResourceAdapter.
| Constructor Summary | |
|---|---|
AbstractResourceAdapter()
|
|
| 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 starts. |
void |
stop()
Called when the resource adapter is stopped. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractResourceAdapter()
| Method Detail |
|---|
public void start(BootstrapContext ctx)
throws ResourceAdapterInternalException
start in interface ResourceAdapterResourceAdapterInternalException
public void stop()
throws ResourceAdapterInternalException
stop in interface ResourceAdapterResourceAdapterInternalException
public void endpointActivation(MessageEndpointFactory endpointFactory,
ActivationSpec spec)
throws NotSupportedException
endpointActivation in interface ResourceAdapterNotSupportedException
public void endpointDeactivation(MessageEndpointFactory endpointFactory,
ActivationSpec spec)
endpointDeactivation in interface ResourceAdapter
public XAResource[] getXAResources(ActivationSpec[] specs)
throws ResourceException
getXAResources in interface ResourceAdapterResourceException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||