public final Transaction getTransactionByXID ( byte [ ] XID ) throws ObjectManagerException { if ( Tracing . isAnyTracingEnabled ( ) && trace . isEntryEnabled ( ) ) trace . entry ( this , cclass , "getTransactionByXID" , "XIDe=" + XID + "(byte[]" ) ; Transaction transaction = objectManagerState . getTransactionByXID ( XID ) ; if ( Tracing . isAnyTracingEnabled ( ) && trace . isEntryEnabled ( ) ) trace . exit ( this , cclass , "getTransactionByXID" , "returns transaction=" + transaction + "(Transaction)" ) ; return transaction ; }
Locate a transaction registered with this ObjectManager . with the same XID as the one passed . If a null XID is passed this will return any registered transaction with a null XID .