public static String getXAResourceEndFlagString ( int flag ) { switch ( flag ) { case XAResource . TMFAIL : return "TMFAIL (" + flag + ' ' ; case XAResource . TMSUCCESS : return "TMSUCCESS (" + flag + ' ' ; case XAResource . TMSUSPEND : return "TMSUSPEND (" + flag + ' ' ; } return "UNKNOWN XA RESOURCE END FLAG (" + flag + ' ' ; }
Display the javax . xa . XAResource end flag constant corresponding to the value supplied .