public static String getXAResourceRecoverFlagString ( int flag ) { switch ( flag ) { case XAResource . TMENDRSCAN : return "TMENDRSCAN (" + flag + ' ' ; case XAResource . TMNOFLAGS : return "TMNOFLAGS (" + flag + ' ' ; case XAResource . TMSTARTRSCAN : return "TMSTARTRSCAN (" + flag + ' ' ; case XAResource . TMSTARTRSCAN + XAResource . TMENDRSCAN : return "TMSTARTRSCAN + TMENDRSCAN (" + flag + ' ' ; } return "UNKNOWN XA RESOURCE RECOVER FLAG (" + flag + ' ' ; }
Display the javax . xa . XAResource recover flag constant corresponding to the value supplied .