org.jppf.jca.cci
Class JPPFConnectionManager

java.lang.Object
  extended by org.jppf.jca.cci.JPPFConnectionManager
All Implemented Interfaces:
Serializable, ConnectionManager

public class JPPFConnectionManager
extends Object
implements ConnectionManager

Instances of this class represent a default connection manager for non-managed environments.

Author:
Laurent Cohen
See Also:
Serialized Form

Constructor Summary
JPPFConnectionManager()
           
 
Method Summary
 Object allocateConnection(ManagedConnectionFactory mcf, ConnectionRequestInfo cxRequestInfo)
          Get a connection from the pool.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JPPFConnectionManager

public JPPFConnectionManager()
Method Detail

allocateConnection

public Object allocateConnection(ManagedConnectionFactory mcf,
                                 ConnectionRequestInfo cxRequestInfo)
                          throws ResourceException
Get a connection from the pool.

Specified by:
allocateConnection in interface ConnectionManager
Parameters:
mcf - the managed connection factory that requested the connection.
cxRequestInfo - the connection request information.
Returns:
a Connection instance.
Throws:
ResourceException - if the connection could not be obtained.
See Also:
ConnectionManager.allocateConnection(javax.resource.spi.ManagedConnectionFactory, javax.resource.spi.ConnectionRequestInfo)


Copyright © 2005-2010 JPPF Team.