Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.core.storage.sql.ra
Class ConnectionManagerImpl

java.lang.Object
  extended by org.nuxeo.ecm.core.storage.sql.ra.ConnectionManagerImpl
All Implemented Interfaces:
Serializable, ConnectionManager

public class ConnectionManagerImpl
extends Object
implements ConnectionManager

This implementation of ConnectionManager is used in non-managed scenarios when there is no application server to provide one.

It receives connection requests from the ConnectionFactory and passes them to the application server.

Author:
Florent Guillaume
See Also:
Serialized Form

Constructor Summary
ConnectionManagerImpl()
           
 
Method Summary
 Object allocateConnection(ManagedConnectionFactory managedConnectionFactory, ConnectionRequestInfo connectionRequestInfo)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectionManagerImpl

public ConnectionManagerImpl()
Method Detail

allocateConnection

public Object allocateConnection(ManagedConnectionFactory managedConnectionFactory,
                                 ConnectionRequestInfo connectionRequestInfo)
                          throws ResourceException
Specified by:
allocateConnection in interface ConnectionManager
Throws:
ResourceException

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.