public void rollbackResources ( ) { final boolean traceOn = TraceComponent . isAnyTracingEnabled ( ) ; if ( traceOn && tc . isEntryEnabled ( ) ) Tr . entry ( tc , "rollbackResources" ) ; try { final Transaction t = ( ( EmbeddableTranManagerSet ) TransactionManagerFactory . getTransactionManager ( ) ) . suspend ( ) ; getResources ( ) . rollbackResources ( ) ; if ( t != null ) ( ( EmbeddableTranManagerSet ) TransactionManagerFactory . getTransactionManager ( ) ) . resume ( t ) ; } catch ( Exception ex ) { FFDCFilter . processException ( ex , "com.ibm.tx.jta.impl.EmbeddableTransactionImpl.rollbackResources" , "104" , this ) ; if ( traceOn && tc . isDebugEnabled ( ) ) Tr . debug ( tc , "Exception caught from rollbackResources()" , ex ) ; } if ( traceOn && tc . isEntryEnabled ( ) ) Tr . exit ( tc , "rollbackResources" ) ; }
Rollback all resources but do not drive state changes . Used when transaction HAS TIMED OUT .