com.ibm.websphere.wim.ras

Class WIMTraceHelper

  • java.lang.Object
    • com.ibm.websphere.wim.ras.WIMTraceHelper


  • public class WIMTraceHelper
    extends java.lang.Object
    Helper class for vmm Trace
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String DUMMY_VALUE
      The string used for display password in the trace.
      static byte[] DUMMY_VALUE_BYTES 
    • Constructor Summary

      Constructors 
      Constructor and Description
      WIMTraceHelper() 
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      static java.lang.String printDataGraph(DataGraph dataGraph)
      Return the DataGraph in string format
      static java.lang.String printDataGraph(DataObject root)
      Return the DataObject in string format
      static java.lang.String printDataObject(DataObject dataObject)
      Return the DataObject in string format
      static java.lang.String printIdentifier(DataObject id)
      Return the Identifier DataObject in string format
      static java.lang.String printIntArray(int[] array)
      Return string equivalent of an int array.
      static java.lang.String printMapWithoutPassword(java.util.Map map)
      Return a string format of the map.
      static java.lang.String printObjectArray(java.lang.Object[] array)
      Return string equivalent of an object array.
      static java.lang.String printShortArray(short[] array)
      Return string equivalent of an short array.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • DUMMY_VALUE

        public static final java.lang.String DUMMY_VALUE
        The string used for display password in the trace. For security reason, password can not be printed out in the trace or message.
        See Also:
        Constant Field Values
      • DUMMY_VALUE_BYTES

        public static final byte[] DUMMY_VALUE_BYTES
    • Constructor Detail

      • WIMTraceHelper

        public WIMTraceHelper()
    • Method Detail

      • printDataObject

        public static java.lang.String printDataObject(DataObject dataObject)
        Return the DataObject in string format
      • printDataGraph

        public static java.lang.String printDataGraph(DataObject root)
        Return the DataObject in string format
      • printDataGraph

        public static java.lang.String printDataGraph(DataGraph dataGraph)
        Return the DataGraph in string format
      • printObjectArray

        public static java.lang.String printObjectArray(java.lang.Object[] array)
        Return string equivalent of an object array.
      • printIntArray

        public static java.lang.String printIntArray(int[] array)
        Return string equivalent of an int array.
      • printShortArray

        public static java.lang.String printShortArray(short[] array)
        Return string equivalent of an short array.
      • printIdentifier

        public static java.lang.String printIdentifier(DataObject id)
        Return the Identifier DataObject in string format
      • printMapWithoutPassword

        public static java.lang.String printMapWithoutPassword(java.util.Map map)
        Return a string format of the map. If any of the key is a password type field(contains "password") then the value is masked.