Class StatelessChecker

  • All Implemented Interfaces:
    IComponentOnBeforeRenderListener

    public class StatelessChecker
    extends Object
    implements IComponentOnBeforeRenderListener
    Stateless checker. Checks if components with StatelessComponent annotation 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.
    Author:
    Marat Radchenko
    See Also:
    StatelessComponent