| 
JSF-Spring | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.mindmatters.faces.application.ActionEventContextHolder
public final class ActionEventContextHolder
Simple holder class that associates a ActionEventContext
 instance with the current thread. The ActionEventContext will be inherited by
 any child threads spawned by the current thread.
 
 
 Used as a central holder for the current ActionEvent in JSF-Spring, wherever
 necessary: for example, in concrete controller instances. DelegatingActionListener
 automatically exposes its current ActionEvent here.
 
DelegatingActionListener.processAction(ActionEvent)| Method Summary | |
|---|---|
static ActionEvent | 
getActionEvent()
Return the ActionEvent associated with the current thread, if any.  | 
static ActionEventContext | 
getActionEventContext()
Return the ActionEventContext associated with the current thread, if any.  | 
static void | 
setActionEvent(ActionEvent actionEvent)
Associate the given ActionEvent with the current thread.  | 
static void | 
setActionEventContext(ActionEventContext actionEventContext)
Associate the given ActionEventContext with the current thread.  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Method Detail | 
|---|
public static void setActionEventContext(ActionEventContext actionEventContext)
actionEventContext - the current ActionEventContext, or null to
            reset the thread-bound contextpublic static ActionEventContext getActionEventContext()
null if nonepublic static void setActionEvent(ActionEvent actionEvent)
actionEvent - the current ActionEvent, or null to reset the
            thread-bound contextSimpleActionEventContext.SimpleActionEventContext(ActionEvent)public static ActionEvent getActionEvent()
null if no specific
         ActionEvent has been associated with the current threadActionEventContext.getActionEvent()
  | 
JSF-Spring | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||