|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.cdi.tck.tests.deployment.packaging.rar.TestResourceAdapter
public class TestResourceAdapter
TestResourceAdapter
| Constructor Summary | |
|---|---|
TestResourceAdapter()
Default constructor |
|
| Method Summary | |
|---|---|
void |
endpointActivation(javax.resource.spi.endpoint.MessageEndpointFactory endpointFactory,
javax.resource.spi.ActivationSpec spec)
This is called during the activation of a message endpoint. |
void |
endpointDeactivation(javax.resource.spi.endpoint.MessageEndpointFactory endpointFactory,
javax.resource.spi.ActivationSpec spec)
This is called when a message endpoint is deactivated. |
boolean |
equals(Object other)
Indicates whether some other object is equal to this one. |
XAResource[] |
getXAResources(javax.resource.spi.ActivationSpec[] specs)
This method is called by the application server during crash recovery. |
int |
hashCode()
Returns a hash code value for the object. |
void |
start(javax.resource.spi.BootstrapContext ctx)
This is called when a resource adapter instance is bootstrapped. |
void |
stop()
This is called when a resource adapter instance is undeployed or during application server shutdown. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TestResourceAdapter()
| Method Detail |
|---|
public void endpointActivation(javax.resource.spi.endpoint.MessageEndpointFactory endpointFactory,
javax.resource.spi.ActivationSpec spec)
throws javax.resource.ResourceException
endpointActivation in interface javax.resource.spi.ResourceAdapterendpointFactory - A message endpoint factory instance.spec - An activation spec JavaBean instance.
javax.resource.ResourceException - generic exception
public void endpointDeactivation(javax.resource.spi.endpoint.MessageEndpointFactory endpointFactory,
javax.resource.spi.ActivationSpec spec)
endpointDeactivation in interface javax.resource.spi.ResourceAdapterendpointFactory - A message endpoint factory instance.spec - An activation spec JavaBean instance.
public void start(javax.resource.spi.BootstrapContext ctx)
throws javax.resource.spi.ResourceAdapterInternalException
start in interface javax.resource.spi.ResourceAdapterctx - A bootstrap context containing references
javax.resource.spi.ResourceAdapterInternalException - indicates bootstrap failure.public void stop()
stop in interface javax.resource.spi.ResourceAdapter
public XAResource[] getXAResources(javax.resource.spi.ActivationSpec[] specs)
throws javax.resource.ResourceException
getXAResources in interface javax.resource.spi.ResourceAdapterspecs - An array of ActivationSpec JavaBeans
javax.resource.ResourceException - generic exceptionpublic int hashCode()
hashCode in class Objectpublic boolean equals(Object other)
equals in class Objectother - The reference object with which to compare.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||