javax.resource.spi

Interface ResourceAdapter

public interface ResourceAdapter

Method Summary
voidendpointActivation(MessageEndpointFactory endpointFactory, ActivationSpec spec)
voidendpointDeactivation(MessageEndpointFactory endpointFactory, ActivationSpec spec)
XAResource[]getXAResources(ActivationSpec[] specs)
voidstart(BootstrapContext ctx)
voidstop()

Method Detail

endpointActivation

public void endpointActivation(MessageEndpointFactory endpointFactory, ActivationSpec spec)

endpointDeactivation

public void endpointDeactivation(MessageEndpointFactory endpointFactory, ActivationSpec spec)

getXAResources

public XAResource[] getXAResources(ActivationSpec[] specs)

start

public void start(BootstrapContext ctx)

stop

public void stop()