Class AjaxBehaviorListenerImpl
- java.lang.Object
-
- org.apache.myfaces.view.facelets.tag.faces.core.AjaxBehaviorListenerImpl
-
- All Implemented Interfaces:
PartialStateHolder
,StateHolder
,AjaxBehaviorListener
,BehaviorListener
,FacesListener
,EventListener
public final class AjaxBehaviorListenerImpl extends Object implements AjaxBehaviorListener, PartialStateHolder
Wraps a method expression in a AjaxBehaviorListener
-
-
Constructor Summary
Constructors Constructor Description AjaxBehaviorListenerImpl()
AjaxBehaviorListenerImpl(jakarta.el.MethodExpression expr)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clearInitialState()
boolean
initialStateMarked()
boolean
isTransient()
void
markInitialState()
void
processAjaxBehavior(AjaxBehaviorEvent event)
void
restoreState(FacesContext context, Object state)
Object
saveState(FacesContext context)
void
setTransient(boolean newTransientValue)
-
-
-
Method Detail
-
processAjaxBehavior
public void processAjaxBehavior(AjaxBehaviorEvent event) throws AbortProcessingException
- Specified by:
processAjaxBehavior
in interfaceAjaxBehaviorListener
- Throws:
AbortProcessingException
-
isTransient
public boolean isTransient()
- Specified by:
isTransient
in interfaceStateHolder
-
restoreState
public void restoreState(FacesContext context, Object state)
- Specified by:
restoreState
in interfaceStateHolder
-
saveState
public Object saveState(FacesContext context)
- Specified by:
saveState
in interfaceStateHolder
-
setTransient
public void setTransient(boolean newTransientValue)
- Specified by:
setTransient
in interfaceStateHolder
-
clearInitialState
public void clearInitialState()
- Specified by:
clearInitialState
in interfacePartialStateHolder
-
initialStateMarked
public boolean initialStateMarked()
- Specified by:
initialStateMarked
in interfacePartialStateHolder
-
markInitialState
public void markInitialState()
- Specified by:
markInitialState
in interfacePartialStateHolder
-
-