com.arjuna.ats.tsmx.logging
Class tsmxFacilityCode

java.lang.Object
  extended by com.arjuna.common.util.logging.FacilityCode
      extended by com.arjuna.ats.tsmx.logging.tsmxFacilityCode

public class tsmxFacilityCode
extends com.arjuna.common.util.logging.FacilityCode

The various levels of facility codes that are available. Typically one for each major component in the system.


Field Summary
static long FAC_TS_MX
           
 
Fields inherited from class com.arjuna.common.util.logging.FacilityCode
FAC_ALL, FAC_NONE
 
Constructor Summary
tsmxFacilityCode()
           
 
Method Summary
 long getLevel(java.lang.String level)
           
 java.lang.String printString(long level)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FAC_TS_MX

public static final long FAC_TS_MX
See Also:
Constant Field Values
Constructor Detail

tsmxFacilityCode

public tsmxFacilityCode()
Method Detail

getLevel

public long getLevel(java.lang.String level)
Overrides:
getLevel in class com.arjuna.common.util.logging.FacilityCode

printString

public java.lang.String printString(long level)
Overrides:
printString in class com.arjuna.common.util.logging.FacilityCode
Returns:
the string representation of the facility level. Note, this string is intended only for debugging purposes, and cannot be fed back into the debug system to obtain the facility level that it represents.
Since:
JTS 2.1.2.