org.nuxeo.ecm.core.storage.sql.ra
Class ConnectionManagerImpl
java.lang.Object
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
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 |
ConnectionManagerImpl
public ConnectionManagerImpl()
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
Copyright © 2010 Nuxeo SAS. All Rights Reserved.