com.bea.connector
Interface ResourceAdapter

All Known Subinterfaces:
WLIResourceAdapter
All Known Implementing Classes:
AbstractWLIResourceAdapter

public interface ResourceAdapter


Method Summary
 void endpointActivation(MessageEndpointFactory mef, ActivationSpec as)
           
 void endpointDeactivation(MessageEndpointFactory mef, ActivationSpec as)
           
 XAResource[] getXAResources(ActivationSpec[] specs)
           
 void start(BootstrapContext bc)
           
 void stop()
           
 

Method Detail

start

public void start(BootstrapContext bc)
           throws javax.resource.spi.ResourceAdapterInternalException
Throws:
javax.resource.spi.ResourceAdapterInternalException

stop

public void stop()
          throws javax.resource.ResourceException
Throws:
javax.resource.ResourceException

endpointActivation

public void endpointActivation(MessageEndpointFactory mef,
                               ActivationSpec as)
                        throws javax.resource.NotSupportedException
Throws:
javax.resource.NotSupportedException

endpointDeactivation

public void endpointDeactivation(MessageEndpointFactory mef,
                                 ActivationSpec as)

getXAResources

public XAResource[] getXAResources(ActivationSpec[] specs)
                            throws javax.resource.ResourceException
Throws:
javax.resource.ResourceException