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
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:
-
Constructor Summary
ConstructorsConstructorDescriptionCachingValueExpression(String name, ValueExpression valueExpression, Cache cache) Construct the caching value expression. -
Method Summary
Methods inherited from class org.omnifaces.el.ValueExpressionWrapper
getExpectedType, getExpressionString, getType, getValueReference, getWrapped, isLiteralText, isReadOnly, setValue
-
Constructor Details
-
CachingValueExpression
Construct the caching value expression.- Parameters:
name- The cache name.valueExpression- The value expression to be wrapped.cache- The cache itself.
-
-
Method Details
-
getValue
- Overrides:
getValuein classValueExpressionWrapper
-
equals
- Overrides:
equalsin classValueExpressionWrapper
-
hashCode
public int hashCode()- Overrides:
hashCodein classValueExpressionWrapper
-