/** * INTERNAL: * This method rises appropriate for the session event(s) * right after connection is acquired. */ @Override public void postAcquireConnection(Accessor accessor) { super.postAcquireConnection(accessor); if (this.parent.hasEventManager()) { this.parent.getEventManager().postAcquireExclusiveConnection(this, accessor); } }
/** * INTERNAL: * This method rises appropriate for the session event(s) * right after connection is acquired. */ @Override public void postAcquireConnection(Accessor accessor) { super.postAcquireConnection(accessor); if (this.parent.hasEventManager()) { this.parent.getEventManager().postAcquireExclusiveConnection(this, accessor); } }
/** * INTERNAL: * This method is called in case externalConnectionPooling is used * right after the accessor is connected. * Used by the session to rise an appropriate event. */ public void postConnectExternalConnection(Accessor accessor) { super.postConnectExternalConnection(accessor); if (this.parent.hasEventManager()) { this.parent.getEventManager().postAcquireExclusiveConnection(this, accessor); } }
this.eventManager.postAcquireExclusiveConnection(clientSession, clientSession.getWriteConnection()); clientSession.getEventManager().postAcquireConnection(clientSession.getWriteConnection()); if (clientSession.isExclusiveIsolatedClientSession()) { getEventManager().postAcquireExclusiveConnection(clientSession, clientSession.getWriteConnection());