Class LastPropertyResolverByDelegation

java.lang.Object
javax.faces.el.PropertyResolver
org.eclnt.jsfserver.util.LastPropertyResolverByDelegation

public class LastPropertyResolverByDelegation extends javax.faces.el.PropertyResolver
This is the property resolver that is referenced via faces-config.xml. It provides the following addon-features:

(1) Fast(er) access than introspection for getting a property. Interface @link IAcceleratedPropertyAccess.

(2) Possibility to convert values just before they are set: interface IPropertyValueConverter.

(3) Possibility to notify bean that is set about the change of data: interface IPropertyResolverAware


Note: while the listeners on property resolution level always operate on the level of one object and one property there is a more general listener, that has the whole value binding that is currently set in mind: IValueBindingListener.

NOTE: Since changing to JSF 1.2 the property resolver is no longer needed. All the functions were moved into the CCELResolver. Background: there was a major change in JSF 1.2 on expression resolution, which was NOT compatible with the JSF 1.1 processing.
  • Constructor Details

    • LastPropertyResolverByDelegation

      public LastPropertyResolverByDelegation(javax.faces.el.PropertyResolver delegateTo)
  • Method Details

    • getType

      public Class getType(Object arg0, Object arg1) throws javax.faces.el.EvaluationException, javax.faces.el.PropertyNotFoundException
      Specified by:
      getType in class javax.faces.el.PropertyResolver
      Throws:
      javax.faces.el.EvaluationException
      javax.faces.el.PropertyNotFoundException
    • getType

      public Class getType(Object arg0, int arg1) throws javax.faces.el.EvaluationException, javax.faces.el.PropertyNotFoundException
      Specified by:
      getType in class javax.faces.el.PropertyResolver
      Throws:
      javax.faces.el.EvaluationException
      javax.faces.el.PropertyNotFoundException
    • getValue

      public Object getValue(Object object, Object property) throws javax.faces.el.EvaluationException, javax.faces.el.PropertyNotFoundException
      Specified by:
      getValue in class javax.faces.el.PropertyResolver
      Throws:
      javax.faces.el.EvaluationException
      javax.faces.el.PropertyNotFoundException
    • getValue

      public Object getValue(Object arg0, int arg1) throws javax.faces.el.EvaluationException, javax.faces.el.PropertyNotFoundException
      Specified by:
      getValue in class javax.faces.el.PropertyResolver
      Throws:
      javax.faces.el.EvaluationException
      javax.faces.el.PropertyNotFoundException
    • isReadOnly

      public boolean isReadOnly(Object arg0, int arg1) throws javax.faces.el.EvaluationException, javax.faces.el.PropertyNotFoundException
      Specified by:
      isReadOnly in class javax.faces.el.PropertyResolver
      Throws:
      javax.faces.el.EvaluationException
      javax.faces.el.PropertyNotFoundException
    • isReadOnly

      public boolean isReadOnly(Object arg0, Object arg1) throws javax.faces.el.EvaluationException, javax.faces.el.PropertyNotFoundException
      Specified by:
      isReadOnly in class javax.faces.el.PropertyResolver
      Throws:
      javax.faces.el.EvaluationException
      javax.faces.el.PropertyNotFoundException
    • setValue

      public void setValue(Object object, int arrayIndex, Object value) throws javax.faces.el.EvaluationException, javax.faces.el.PropertyNotFoundException
      Specified by:
      setValue in class javax.faces.el.PropertyResolver
      Throws:
      javax.faces.el.EvaluationException
      javax.faces.el.PropertyNotFoundException
    • setValue

      public void setValue(Object object, Object property, Object value) throws javax.faces.el.EvaluationException, javax.faces.el.PropertyNotFoundException
      Specified by:
      setValue in class javax.faces.el.PropertyResolver
      Throws:
      javax.faces.el.EvaluationException
      javax.faces.el.PropertyNotFoundException