Class UIContextDebugWrapper
- java.lang.Object
-
- com.github.bordertech.wcomponents.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 Summary
Constructors Constructor Description UIContextDebugWrapper(UIContext uic)
Creates a UIContextDebugWrapper.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected UIContext
getUIContext()
String
toString()
Tally up the number of WComponents storing data in the session grouped by object type.
-
-
-
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.
-
-