org.omnifaces.component.output.cache.el
Class CachingValueExpression

java.lang.Object
  extended by javax.el.Expression
      extended by javax.el.ValueExpression
          extended by org.omnifaces.el.ValueExpressionWrapper
              extended by org.omnifaces.component.output.cache.el.CachingValueExpression
All Implemented Interfaces:
java.io.Serializable, javax.faces.FacesWrapper<javax.el.ValueExpression>

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 Summary
CachingValueExpression(java.lang.String name, javax.el.ValueExpression valueExpression, Cache cache)
           
 
Method Summary
 java.lang.Object getValue(javax.el.ELContext elContext)
           
 
Methods inherited from class org.omnifaces.el.ValueExpressionWrapper
equals, getExpectedType, getExpressionString, getType, getValueReference, getWrapped, hashCode, isLiteralText, isReadOnly, setValue
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CachingValueExpression

public CachingValueExpression(java.lang.String name,
                              javax.el.ValueExpression valueExpression,
                              Cache cache)
Method Detail

getValue

public java.lang.Object getValue(javax.el.ELContext elContext)
Overrides:
getValue in class ValueExpressionWrapper