- java.lang.Object
- 
- jakarta.el.Expression
- 
- jakarta.el.ValueExpression
- 
- org.omnifaces.el.ValueExpressionWrapper
- 
- org.omnifaces.component.output.cache.el.CachingValueExpression
 
 
 
 
- 
- All Implemented Interfaces:
- FacesWrapper<ValueExpression>,- Serializable
 
 public class CachingValueExpression extends ValueExpressionWrapper A value expression implementation that caches its main value at the moment it's evaluated and uses this cache value in future evaluations.- Author:
- Arjan Tijms
- See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description CachingValueExpression(String name, ValueExpression valueExpression, Cache cache)Construct the caching value expression.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object object)ObjectgetValue(ELContext elContext)inthashCode()- 
Methods inherited from class org.omnifaces.el.ValueExpressionWrappergetExpectedType, getExpressionString, getType, getValueReference, getWrapped, isLiteralText, isReadOnly, setValue
 
- 
 
- 
- 
- 
Constructor Detail- 
CachingValueExpressionpublic CachingValueExpression(String name, ValueExpression valueExpression, Cache cache) Construct the caching value expression.- Parameters:
- name- The cache name.
- valueExpression- The value expression to be wrapped.
- cache- The cache itself.
 
 
- 
 - 
Method Detail- 
getValuepublic Object getValue(ELContext elContext) - Overrides:
- getValuein class- ValueExpressionWrapper
 
 - 
equalspublic boolean equals(Object object) - Overrides:
- equalsin class- ValueExpressionWrapper
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- ValueExpressionWrapper
 
 
- 
 
-