Package jakarta.resource.spi
Interface LazyEnlistableConnectionManager
-
public interface LazyEnlistableConnectionManagerThis is a mix-in interface that may be optionally implemented by aConnectionManagerimplementation. An implementation of this interface must support the lazy transaction enlistment optimization.- Version:
- 1.0
- Author:
- Ram Jeyaraman
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidlazyEnlist(ManagedConnection mc)This method is called by a resource adapter (that is capable of lazy transaction enlistment optimization) in order to lazily enlist a connection object with a XA transaction.
-
-
-
Method Detail
-
lazyEnlist
void lazyEnlist(ManagedConnection mc) throws ResourceException
This method is called by a resource adapter (that is capable of lazy transaction enlistment optimization) in order to lazily enlist a connection object with a XA transaction.- Parameters:
mc- TheManagedConnectioninstance that needs to be lazily associated.- Throws:
ResourceException- Generic exception.ApplicationServerInternalException- Application server specific exception.ResourceAllocationException- Failed to allocate system resources for connection request.ResourceAdapterInternalException- Resource adapter related error condition.
-
-