javax.resource.spi

Interface ResourceAdapter

public interface ResourceAdapter

Method Summary

void
endpointActivation(MessageEndpointFactory endpointFactory, ActivationSpec spec)
void
endpointDeactivation(MessageEndpointFactory endpointFactory, ActivationSpec spec)
XAResource[]
getXAResources(ActivationSpec[] specs)
void
start(BootstrapContext ctx)
void
stop()

Method Details

endpointActivation

public void endpointActivation(MessageEndpointFactory endpointFactory,
                               ActivationSpec spec)
            throws ResourceException

endpointDeactivation

public void endpointDeactivation(MessageEndpointFactory endpointFactory,
                                 ActivationSpec spec)

getXAResources

public XAResource[] getXAResources(ActivationSpec[] specs)
            throws ResourceException

start

public void start(BootstrapContext ctx)
            throws ResourceAdapterInternalException

stop

public void stop()