public static class NuxeoContainer.ConnectionManagerWrapper extends Object implements javax.resource.spi.ConnectionManager
reset()
method to flush the pool.Constructor and Description |
---|
NuxeoContainer.ConnectionManagerWrapper(NuxeoContainer.ConnectionTrackingCoordinator coordinator,
org.apache.geronimo.connector.outbound.AbstractConnectionManager cm,
NuxeoConnectionManagerConfiguration config) |
Modifier and Type | Method and Description |
---|---|
Object |
allocateConnection(javax.resource.spi.ManagedConnectionFactory managedConnectionFactory,
javax.resource.spi.ConnectionRequestInfo connectionRequestInfo) |
void |
dispose() |
void |
enterNoSharing() |
void |
exitNoSharing() |
NuxeoConnectionManagerConfiguration |
getConfiguration() |
Collection<org.nuxeo.runtime.jtajca.NuxeoContainer.ConnectionTrackingCoordinator.Context.Allocation> |
getCurrentThreadAllocations() |
org.apache.geronimo.connector.outbound.PoolingAttributes |
getPooling() |
void |
reset() |
public NuxeoContainer.ConnectionManagerWrapper(NuxeoContainer.ConnectionTrackingCoordinator coordinator, org.apache.geronimo.connector.outbound.AbstractConnectionManager cm, NuxeoConnectionManagerConfiguration config)
public Object allocateConnection(javax.resource.spi.ManagedConnectionFactory managedConnectionFactory, javax.resource.spi.ConnectionRequestInfo connectionRequestInfo) throws javax.resource.ResourceException
allocateConnection
in interface javax.resource.spi.ConnectionManager
javax.resource.ResourceException
public void reset()
public void dispose()
public NuxeoConnectionManagerConfiguration getConfiguration()
public Collection<org.nuxeo.runtime.jtajca.NuxeoContainer.ConnectionTrackingCoordinator.Context.Allocation> getCurrentThreadAllocations()
public org.apache.geronimo.connector.outbound.PoolingAttributes getPooling()
public void enterNoSharing()
public void exitNoSharing()
Copyright © 2015 Nuxeo SA. All rights reserved.