public class StatelessChecker extends Object implements IComponentOnBeforeRenderListener
StatelessComponentannotation are really stateless. This is a utility that is intended for use primarily during development. If you add an instance of this class to your application, it will check all components or pages marked with the StatelessComponent annotation to make sure that they are stateless as you intended. This is useful when trying to maintain stateless pages since it is very easy to inadvertently add a component to a page that internally uses stateful links, etc.
|Constructor and Description|
|Modifier and Type||Method and Description|
Called when the component is about to be rendered
protected boolean mustCheck(Component component)
trueif checker must check given component,
component- component to check.
trueif checker must check given component.
public void onBeforeRender(Component component)
component- the component that is about to be rendered
Copyright © 2006–2020 Apache Software Foundation. All rights reserved.