|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
javax.resource.spi Interface LazyEnlistableConnectionManager
public interface LazyEnlistableConnectionManager
这是一个混合接口,
ConnectionManager
实现可以有选择地实现。此接口的实现必须支持延时事务登记 (enlistment) 优化。
version | 1.0 |
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 |
---|
public void
lazyEnlist(ManagedConnection mc) throws ResourceException
此方法由资源适配器(能够进行延时事务登记优化)调用,以便使用 XA 事务延时登记连接对象。
mc |
需要延时关联的 ManagedConnection 实例。 |
Throws | ResourceException: 一般异常。 |
Throws | ApplicationServerInternalException: 特定于应用服务器的异常。 |
Throws | ResourceAllocationException: 无法为连接请求分配系统资源。 |
Throws | ResourceAdapterInternalException: 与资源适配器有关的错误情况。 |
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
- TheManagedConnection
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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Submit a bug or feature
Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
PS : 未经我党受权你也可自由散发此文档。 如有任何错误请自行修正;若因此而造成任何损失请直接找人民主席,请勿与本人联系。谢谢!