org.nuxeo.runtime.jtajca
Class NuxeoContainer.ConnectionManagerWrapper
java.lang.Object
org.nuxeo.runtime.jtajca.NuxeoContainer.ConnectionManagerWrapper
- All Implemented Interfaces:
- Serializable, ConnectionManager
- Enclosing class:
- NuxeoContainer
public static class NuxeoContainer.ConnectionManagerWrapper
- extends Object
- implements ConnectionManager
Wraps a Geronimo ConnectionManager and adds a reset()
method to
flush the pool.
- See Also:
- Serialized Form
NuxeoContainer.ConnectionManagerWrapper
public NuxeoContainer.ConnectionManagerWrapper(org.apache.geronimo.connector.outbound.AbstractConnectionManager cm,
NuxeoContainer.ConnectionManagerConfiguration config)
allocateConnection
public Object allocateConnection(ManagedConnectionFactory managedConnectionFactory,
ConnectionRequestInfo connectionRequestInfo)
throws ResourceException
- Specified by:
allocateConnection
in interface ConnectionManager
- Throws:
ResourceException
reset
public void reset()
throws Exception
- Throws:
Exception
Copyright © 2011 Nuxeo SAS. All Rights Reserved.