|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value=METHOD) @Retention(value=RUNTIME) @Documented public @interface Cached
Annotation used on any (non-abstract) page or component method that returns a value.
It caches the method result during the current request cycle, meaning that subsequent calls do not reevaluate the method's body.
Optional Element Summary | |
---|---|
boolean |
resetAfterRewind
Set to true if you want to reset the cached value when the rewind ends (and normal rendering starts). This can be helpful when new values should be calculated for the new rendering (which perhaps didn't exist while rewinding). |
public abstract boolean resetAfterRewind
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |