org.apache.myfaces.view.facelets.tag.jsf.core
Class AjaxHandler.AjaxBehaviorListenerImpl

java.lang.Object
  extended by org.apache.myfaces.view.facelets.tag.jsf.core.AjaxHandler.AjaxBehaviorListenerImpl
All Implemented Interfaces:
EventListener, PartialStateHolder, StateHolder, AjaxBehaviorListener, BehaviorListener, FacesListener
Enclosing class:
AjaxHandler

public static final class AjaxHandler.AjaxBehaviorListenerImpl
extends Object
implements AjaxBehaviorListener, PartialStateHolder

Wraps a method expression in a AjaxBehaviorListener


Constructor Summary
AjaxHandler.AjaxBehaviorListenerImpl()
           
AjaxHandler.AjaxBehaviorListenerImpl(javax.el.MethodExpression expr)
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AjaxHandler.AjaxBehaviorListenerImpl

public AjaxHandler.AjaxBehaviorListenerImpl()

AjaxHandler.AjaxBehaviorListenerImpl

public AjaxHandler.AjaxBehaviorListenerImpl(javax.el.MethodExpression expr)
Method Detail

processAjaxBehavior

public void processAjaxBehavior(AjaxBehaviorEvent event)
                         throws AbortProcessingException
Specified by:
processAjaxBehavior in interface AjaxBehaviorListener
Throws:
AbortProcessingException

isTransient

public boolean isTransient()
Specified by:
isTransient in interface StateHolder

restoreState

public void restoreState(FacesContext context,
                         Object state)
Specified by:
restoreState in interface StateHolder

saveState

public Object saveState(FacesContext context)
Specified by:
saveState in interface StateHolder

setTransient

public void setTransient(boolean newTransientValue)
Specified by:
setTransient in interface StateHolder

clearInitialState

public void clearInitialState()
Specified by:
clearInitialState in interface PartialStateHolder

initialStateMarked

public boolean initialStateMarked()
Specified by:
initialStateMarked in interface PartialStateHolder

markInitialState

public void markInitialState()
Specified by:
markInitialState in interface PartialStateHolder


Copyright © 2014 The Apache Software Foundation. All Rights Reserved.