javax.resource.spi
Interface LazyEnlistableConnectionManager


public interface LazyEnlistableConnectionManager

An optioanl mixin interface for connection managers that support the lazy connection enlistment optimization.


Method Summary
 void lazyEnlist(ManagedConnection (src)  mc)
          Invoked by a resource adapter to lazily enlist a connection handle with the managed connection
 

Method Detail

lazyEnlist

public void lazyEnlist(ManagedConnection (src)  mc)
                throws ResourceException (src) 
Invoked by a resource adapter to lazily enlist a connection handle with the managed connection

Parameters:
mc - the managed connection
Throws:
ResourceException (src) - for an generic error
ApplicationServerInternalException (src) - for problems in the application server
ResourceAllocationException (src) - for problems allocating resources
ResourceAdapterInternalException (src) - for errors from the resource adapter