public static class NuxeoContainer.ConnectionManagerWrapper extends Object implements javax.resource.spi.ConnectionManager
reset()
method to flush the pool.Modifier and Type | Field and Description |
---|---|
protected org.apache.geronimo.connector.outbound.AbstractConnectionManager |
cm |
protected NuxeoConnectionManagerConfiguration |
config |
protected NuxeoContainer.ConnectionTrackingCoordinator |
coordinator |
Constructor and Description |
---|
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<NuxeoContainer.ConnectionTrackingCoordinator.Context.Allocation> |
getCurrentThreadAllocations() |
org.apache.geronimo.connector.outbound.PoolingAttributes |
getPooling() |
void |
reset() |
protected NuxeoContainer.ConnectionTrackingCoordinator coordinator
protected org.apache.geronimo.connector.outbound.AbstractConnectionManager cm
protected final NuxeoConnectionManagerConfiguration config
public 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<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.