javax.resource.spi
Interface ResourceAdapter


public interface ResourceAdapter

Version:
$Rev: 467553 $ $Date: 2006-10-25 06:01:51 +0200 (Wed, 25 Oct 2006) $

Method Summary
 void endpointActivation(MessageEndpointFactory endpointFactory, ActivationSpec spec)
           
 void endpointDeactivation(MessageEndpointFactory endpointFactory, ActivationSpec spec)
           
 javax.transaction.xa.XAResource[] getXAResources(ActivationSpec[] specs)
           
 void start(BootstrapContext ctx)
           
 void stop()
           
 

Method Detail

start

void start(BootstrapContext ctx)
           throws ResourceAdapterInternalException
Throws:
ResourceAdapterInternalException

stop

void stop()

endpointActivation

void endpointActivation(MessageEndpointFactory endpointFactory,
                        ActivationSpec spec)
                        throws ResourceException
Throws:
ResourceException

endpointDeactivation

void endpointDeactivation(MessageEndpointFactory endpointFactory,
                          ActivationSpec spec)

getXAResources

javax.transaction.xa.XAResource[] getXAResources(ActivationSpec[] specs)
                                                 throws ResourceException
Throws:
ResourceException