final LocalTransactionCoordinator beginLocalTx ( ) { LocalTransactionCoordinator lCoord = null ; try { ltcCurrent . begin ( ) ; lCoord = getLocalCoord ( ) ; // d175585 if ( TraceComponent . isAnyTracingEnabled ( ) ) // d527372 { if ( tc . isEventEnabled ( ) ) { if ( lCoord != null ) { Tr . event ( tc , "Began LTC cntxt: tid=" + Integer . toHexString ( lCoord . hashCode ( ) ) + "(LTC)" ) ; } else { Tr . event ( tc , "Began LTC cntxt: " + "null Coordinator!" ) ; } } // d165585 Begins if ( lCoord != null && TETxLifeCycleInfo . isTraceEnabled ( ) ) // d171555 { TETxLifeCycleInfo . traceLocalTxBegin ( "" + System . identityHashCode ( lCoord ) , "Begin Local Tx" ) ; } // d165585 Ends } } catch ( Exception ex ) { FFDCFilter . processException ( ex , CLASS_NAME + ".beginLocalTx" , "737" , this ) ; if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEventEnabled ( ) ) { Tr . event ( tc , "Begin local tx failed" , ex ) ; } } return ( lCoord ) ; }
Begin a new local trasaction context