Nuxeo Enterprise Platform 5.4

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:
java.io.Serializable, javax.resource.spi.ConnectionManager

public class ConnectionManagerImpl
extends java.lang.Object
implements javax.resource.spi.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
 java.lang.Object allocateConnection(javax.resource.spi.ManagedConnectionFactory managedConnectionFactory, javax.resource.spi.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 java.lang.Object allocateConnection(javax.resource.spi.ManagedConnectionFactory managedConnectionFactory,
                                           javax.resource.spi.ConnectionRequestInfo connectionRequestInfo)
                                    throws javax.resource.ResourceException
Specified by:
allocateConnection in interface javax.resource.spi.ConnectionManager
Throws:
javax.resource.ResourceException

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.