org.eclnt.jsfserver.util

## Class VariableResolverByDelegation

- java.lang.Object
- - VariableResolver
  - - org.eclnt.jsfserver.util.VariableResolverByDelegation

-     public class VariableResolverByDelegation
      extends VariableResolver

  Variable resolver that allows to explicitly pass an instance of a variable to be used at runtime.
  PAY ATTENTION: due to adapting to JSF 1.2 all functions of this class were moved into the CCELResolver class.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `VariableResolverByDelegation(VariableResolver delegateTo)`

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static void` | `defineInstanceToBeUsed(java.lang.String name, java.lang.Object instance)`
    `java.lang.Object` | `resolveVariable(FacesContext context, java.lang.String name)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### VariableResolverByDelegation

          public VariableResolverByDelegation(VariableResolver delegateTo)

  - ### Method Detail

    - #### defineInstanceToBeUsed

          public static void defineInstanceToBeUsed(java.lang.String name,
                                                    java.lang.Object instance)

    - #### resolveVariable

          public java.lang.Object resolveVariable(FacesContext context,
                                                  java.lang.String name)
                                           throws EvaluationException

      Throws:
        `EvaluationException`

Copyright © CaptainCasa Gmbh. All Rights Reserved.