Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.runtime.jtajca
Class NuxeoContainer.ConnectionManagerWrapper

java.lang.Object
  extended by 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

Constructor Summary
NuxeoContainer.ConnectionManagerWrapper(org.apache.geronimo.connector.outbound.AbstractConnectionManager cm, NuxeoContainer.ConnectionManagerConfiguration config)
           
 
Method Summary
 Object allocateConnection(ManagedConnectionFactory managedConnectionFactory, ConnectionRequestInfo connectionRequestInfo)
           
 void reset()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NuxeoContainer.ConnectionManagerWrapper

public NuxeoContainer.ConnectionManagerWrapper(org.apache.geronimo.connector.outbound.AbstractConnectionManager cm,
                                               NuxeoContainer.ConnectionManagerConfiguration config)
Method Detail

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

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.