{
super ( props );
this.xaConnection = xaConnection;
this.connection = xaConnection.getConnection();
this.sessionHandleState = new SessionHandleState ( jdbcTransactionalResource, xaConnection.getXAResource());
sessionHandleState.registerSessionHandleStateChangeListener(new SessionHandleStateChangeListener() {
public void onTerminated() {
if ( Configuration.isDebugLoggingEnabled() ) Configuration.logDebug( "SessionHandleState terminated, firing XPooledConnectionTerminated event for " + AtomikosXAPooledConnection.this);
updateLastTimeReleased();
fireOnXPooledConnectionTerminated();
}