Nuxeo Enterprise Platform 5.4

org.nuxeo.runtime.jtajca
Class NuxeoContainer.ConnectionManagerWrapper

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

Constructor Summary
NuxeoContainer.ConnectionManagerWrapper(org.apache.geronimo.connector.outbound.AbstractConnectionManager cm, NuxeoContainer.ConnectionManagerConfiguration config)
           
 
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
 

Constructor Detail

NuxeoContainer.ConnectionManagerWrapper

public NuxeoContainer.ConnectionManagerWrapper(org.apache.geronimo.connector.outbound.AbstractConnectionManager cm,
                                               NuxeoContainer.ConnectionManagerConfiguration config)
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

reset

public void reset()
           throws java.lang.Exception
Throws:
java.lang.Exception

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.