org.jppf.jca.cci
Class JPPFConnectionManager
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JPPFConnectionManager
public JPPFConnectionManager()
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.