Top Description Methods
jakarta.resource.spi

public Interface LazyEnlistableConnectionManager

Imports
jakarta.resource.ResourceException

This is a mix-in interface that may be optionally implemented by a ConnectionManager implementation. An implementation of this interface must support the lazy transaction enlistment optimization.
Author
Ram Jeyaraman
Version
1.0

Method Summary

Modifier and TypeMethod and Description
public void
lazyEnlist(ManagedConnection
The ManagedConnection instance that needs to be lazily associated.
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

lazyEnlistback to summary
public 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:ManagedConnection

The ManagedConnection instance that needs to be lazily associated.

Exceptions
ResourceException:
Generic exception.
ApplicationServerInternalException:
Application server specific exception.
ResourceAllocationException:
Failed to allocate system resources for connection request.
ResourceAdapterInternalException:
Resource adapter related error condition.