javax.resource.spi
Interface ResourceAdapter


public interface ResourceAdapter

Since:
1.5
Version:
$Rev: 806898 $ $Date: 2009-08-23 00:11:25 +0200 (So, 23. Aug 2009) $

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 © 2003-2012 The Apache Software Foundation. All Rights Reserved.