void renewTransaction() throws TransactionCreateException {
  if (m_conn == null || m_closing) {
    if (_logger.isLoggable(Level.FINE)) {
      _logger.fine("GSSessionImpl.renewTransaction(): The Session is closed. Not renewing transaction.");
    }
    _tx=null;
    return;
  }
  if (_logger.isLoggable(Level.FINE)) {
    _logger.fine("GSSessionImpl.renewTransaction(): Renewing transaction.");
  }
  try {
    _tx=m_conn.getTransaction(useLocalTransactions,GSSessionImpl.txLeaseTime);
  }
 catch (  TransactionCreateException re) {
    if (_logger.isLoggable(Level.SEVERE)) {
      _logger.log(Level.SEVERE,"GSSessionImpl.renewTransaction(): Failed to renew transaction: ",re.orig);
    }
    _tx=null;
    throw re;
  }
  if (_logger.isLoggable(Level.FINE)) {
    _logger.fine("GSSessionImpl.renewTransaction(): New transaction: " + _tx);
  }
}

void renewTransaction ( ) throws TransactionCreateException { if ( m_conn == null || m_closing ) { if ( _logger . isLoggable ( Level . FINE ) ) { _logger . fine ( "GSSessionImpl.renewTransaction(): The Session is closed. Not renewing transaction." ) ; } _tx = null ; return ; } if ( _logger . isLoggable ( Level . FINE ) ) { _logger . fine ( "GSSessionImpl.renewTransaction(): Renewing transaction." ) ; } try { _tx = m_conn . getTransaction ( useLocalTransactions , GSSessionImpl . txLeaseTime ) ; } catch ( TransactionCreateException re ) { if ( _logger . isLoggable ( Level . SEVERE ) ) { _logger . log ( Level . SEVERE , "GSSessionImpl.renewTransaction(): Failed to renew transaction: " , re . orig ) ; } _tx = null ; throw re ; } if ( _logger . isLoggable ( Level . FINE ) ) { _logger . fine ( "GSSessionImpl.renewTransaction(): New transaction: " + _tx ) ; } }
called after a transaction is finished to start a new transaction .
