Class UIContextDebugWrapper


  • public class UIContextDebugWrapper
    extends Object
    This class can be used to dump the contents of a UIContext object for debugging purposes.
    Since:
    1.0.0
    Author:
    Martin_Schevchenko
    • Constructor Detail

      • UIContextDebugWrapper

        public UIContextDebugWrapper​(UIContext uic)
        Creates a UIContextDebugWrapper.
        Parameters:
        uic - the object to log.
    • Method Detail

      • getUIContext

        protected UIContext getUIContext()
        Returns:
        the wrapped UIContext.
      • toString

        public String toString()
        Tally up the number of WComponents storing data in the session grouped by object type. Also tally up how many are storing data unnecessarily. Also tally how many different top components are referenced by the components stored in the UIContext.
        Overrides:
        toString in class Object
        Returns:
        the debugging information.