teamdev.jsf.component.util
Class LazyCreatedValueBinding
java.lang.Object
ValueBinding
teamdev.jsf.component.util.LazyCreatedValueBinding
public class LazyCreatedValueBinding
- extends ValueBinding
Value binding by expression that serves as a proxy and defers creating the actual value binding until the first use.
This type of value binding is required in cases when ValueBinding should be created, but there's no current
FacesContext yet, e.g. when the server starts and loads the serialized state (see QKS-5844).
|
Method Summary |
java.lang.Class |
getType(FacesContext facesContext)
|
java.lang.Object |
getValue(FacesContext facesContext)
|
boolean |
isReadOnly(FacesContext facesContext)
|
void |
setValue(FacesContext facesContext,
java.lang.Object value)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LazyCreatedValueBinding
public LazyCreatedValueBinding(java.lang.String expression)
getValue
public java.lang.Object getValue(FacesContext facesContext)
throws EvaluationException
- Throws:
EvaluationException
setValue
public void setValue(FacesContext facesContext,
java.lang.Object value)
throws EvaluationException
- Throws:
EvaluationException
isReadOnly
public boolean isReadOnly(FacesContext facesContext)
throws EvaluationException
- Throws:
EvaluationException
getType
public java.lang.Class getType(FacesContext facesContext)
throws EvaluationException
- Throws:
EvaluationException
Copyright © 1998-2009 TeamDev Ltd. All Rights Reserved.