private void associateConnections(ConnectorInstanceContext context) throws ResourceException {
Map<ConnectionTrackingInterceptor, Set<ConnectionInfo>> connectionManagerToManagedConnectionInfoMap = context.getConnectionManagerMap();
for (Map.Entry<ConnectionTrackingInterceptor, Set<ConnectionInfo>> entry : connectionManagerToManagedConnectionInfoMap.entrySet()) {
ConnectionTrackingInterceptor mcci = entry.getKey();
Set<ConnectionInfo> connections = entry.getValue();
mcci.enter(connections);
}
}
public void newTransaction() throws ResourceException {
ConnectorInstanceContext currentContext = currentInstanceContexts.get();