Package com.atomikos.datasource.xa.session

Examples of com.atomikos.datasource.xa.session.SessionHandleStateChangeListener


  {
    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();
      }
View Full Code Here


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

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

TOP

Related Classes of com.atomikos.datasource.xa.session.SessionHandleStateChangeListener

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.