站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 j2ee API Documentation 英文版文档

LazyAssociatableConnectionManager (JBoss J2EE API) - JBoss 4.0.1 sp1 j2ee API Documentation 英文版文档


javax.resource.spi
Interface LazyAssociatableConnectionManager


public interface LazyAssociatableConnectionManager

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


Method Summary
 void associateConnection(Object connection, ManagedConnectionFactory mcf, ConnectionRequestInfo cxReqInfo)
          Invoked by a resource adapter to lazily associate a connection handle with the managed connection
 

Method Detail

associateConnection

public void associateConnection(Object connection,
                                ManagedConnectionFactory mcf,
                                ConnectionRequestInfo cxReqInfo)
                         throws ResourceException
Invoked by a resource adapter to lazily associate a connection handle with the managed connection

Parameters:
connection - the connection handle
mcf - the managed connection factory
Throws:
ResourceException - for an generic error
ApplicationServerInternalException - for problems in the application server
SecurityException - for security problems
ResourceAllocationException - for problems allocating resources
ResourceAdapterInternalException - for errors from the resource adapter


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.