javax.resource.spi
Interface ResourceAdapter


public interface ResourceAdapter

Version:
$Rev: 46019 $ $Date: 2004-09-14 02:56:06 -0700 (Tue, 14 Sep 2004) $

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 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

XAResource[] getXAResources(ActivationSpec[] specs)
                            throws ResourceException
Throws:
ResourceException


Copyright © 2006 Apache Software Foundation. All Rights Reserved.