|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.wicket.devutils.stateless.StatelessChecker
public class StatelessChecker
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 inadvertantly add
a component to a page that internally uses stateful links, etc.
StatelessComponent
Constructor Summary | |
---|---|
StatelessChecker()
|
Method Summary | |
---|---|
void |
onBeforeRender(Component component)
Called when the component is about to be rendered |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StatelessChecker()
Method Detail |
---|
public void onBeforeRender(Component component)
IComponentOnBeforeRenderListener
onBeforeRender
in interface IComponentOnBeforeRenderListener
component
- the component that is about to be renderedIComponentOnBeforeRenderListener.onBeforeRender(org.apache.wicket.Component)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |