站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Java Platform, Enterprise Edition v1.4 API Specifications

LazyEnlistableConnectionManager (Java 2 Platform Ent. Ed. v1.4) - Java Platform, Enterprise Edition v1.4 API Specifications

JavaTM 2 Platform
Ent. Ed. v1.4

javax.resource.spi
Interface LazyEnlistableConnectionManager


public interface LazyEnlistableConnectionManager

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.

Version:
1.0
Author:
Ram Jeyaraman

Method Summary
 void lazyEnlist(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

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 - The ManagedConnection instance 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.

JavaTM 2 Platform
Ent. Ed. v1.4

Submit a bug or feature

Copyright 2003 Sun Microsystems, Inc. All rights reserved.