@ Override public synchronized UserTransaction getUserTransaction ( ) { // d367572.1 start if ( state == PRE_CREATE ) { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isDebugEnabled ( ) ) Tr . debug ( tc , "Incorrect state: " + getStateName ( state ) ) ; throw new IllegalStateException ( getStateName ( state ) ) ; } // d367572.1 end return UserTransactionWrapper . INSTANCE ; // d631349 }
Get user transaction object that bean can use to demarcate transactions .