protected boolean involvedInTransaction ( ) { final boolean isTracingEnabled = TraceComponent . isAnyTracingEnabled ( ) ; if ( state == STATE_TRAN_WRAPPER_INUSE ) { if ( isTracingEnabled && tc . isDebugEnabled ( ) ) { Tr . debug ( this , tc , "involvedInTransaction: true" ) ; } return true ; } else { if ( isTracingEnabled && tc . isDebugEnabled ( ) ) { Tr . debug ( this , tc , "involvedInTransaction: false" ) ; } return false ; } }
Called by the Connection manager during reassociate to check if an unshared connection is currently involved in a transaction .