org.nuxeo.runtime.jtajca
Class NuxeoContainer.ConnectionManagerWrapper
java.lang.Object
org.nuxeo.runtime.jtajca.NuxeoContainer.ConnectionManagerWrapper
- All Implemented Interfaces:
- java.io.Serializable, javax.resource.spi.ConnectionManager
- Enclosing class:
- NuxeoContainer
public static class NuxeoContainer.ConnectionManagerWrapper
- extends java.lang.Object
- implements javax.resource.spi.ConnectionManager
Wraps a geronimo cm to be able to flush the pool.
- Author:
- Bogdan Stefanescu
- See Also:
- Serialized Form
Method Summary |
java.lang.Object |
allocateConnection(javax.resource.spi.ManagedConnectionFactory managedConnectionFactory,
javax.resource.spi.ConnectionRequestInfo connectionRequestInfo)
|
void |
reset()
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NuxeoContainer.ConnectionManagerWrapper
public NuxeoContainer.ConnectionManagerWrapper(org.apache.geronimo.connector.outbound.AbstractConnectionManager cm,
NuxeoContainer.ConnectionManagerConfiguration config)
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
reset
public void reset()
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © 2010 Nuxeo SAS. All Rights Reserved.