public static String getXAResourceVoteString ( int vote ) { switch ( vote ) { case XAResource . XA_OK : return "XA_OK (" + vote + ' ' ; case XAResource . XA_RDONLY : return "XA_RDONLY (" + vote + ' ' ; } return "UNKNOWN XA RESOURCE VOTE (" + vote + ' ' ; }
Display the javax . xa . XAResource Resource Manager vote constant corresponding to the value supplied .