Package jakarta.faces.event
Class MethodExpressionValueChangeListener
java.lang.Object
jakarta.faces.event.MethodExpressionValueChangeListener
- All Implemented Interfaces:
StateHolder
,FacesListener
,ValueChangeListener
,EventListener
public class MethodExpressionValueChangeListener
extends Object
implements ValueChangeListener, StateHolder
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new instance of MethodExpressionValueChangeListenerMethodExpressionValueChangeListener
(jakarta.el.MethodExpression methodExpressionOneArg) MethodExpressionValueChangeListener
(jakarta.el.MethodExpression methodExpressionOneArg, jakarta.el.MethodExpression methodExpressionZeroArg) -
Method Summary
Modifier and TypeMethodDescriptionboolean
void
void
restoreState
(FacesContext context, Object state) saveState
(FacesContext context) void
setTransient
(boolean newTransientValue)
-
Constructor Details
-
MethodExpressionValueChangeListener
public MethodExpressionValueChangeListener()Creates a new instance of MethodExpressionValueChangeListener -
MethodExpressionValueChangeListener
public MethodExpressionValueChangeListener(jakarta.el.MethodExpression methodExpressionOneArg) -
MethodExpressionValueChangeListener
public MethodExpressionValueChangeListener(jakarta.el.MethodExpression methodExpressionOneArg, jakarta.el.MethodExpression methodExpressionZeroArg)
-
-
Method Details
-
processValueChange
- Specified by:
processValueChange
in interfaceValueChangeListener
- Throws:
AbortProcessingException
-
restoreState
- Specified by:
restoreState
in interfaceStateHolder
-
saveState
- Specified by:
saveState
in interfaceStateHolder
-
setTransient
public void setTransient(boolean newTransientValue) - Specified by:
setTransient
in interfaceStateHolder
-
isTransient
public boolean isTransient()- Specified by:
isTransient
in interfaceStateHolder
-