| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.scxml.env.SimpleContext
org.apache.commons.scxml.env.faces.SessionContext
public class SessionContext
A Faces Session Context.
Since the "session map" is obtained from a
 FacesContext object using the environment agnostic
 getExternalContext(), this Context
 will be useful in Servlet as well as Portlet environments.
| Constructor Summary | |
|---|---|
SessionContext(javax.faces.context.FacesContext fc)
Constructor.  | 
|
SessionContext(javax.faces.context.FacesContext fc,
               Context parent)
Constructor.  | 
|
| Method Summary | |
|---|---|
 Object | 
get(String name)
Get the value of the given variable in this Context.  | 
 boolean | 
has(String name)
Does the given variable exist in this Context.  | 
| Methods inherited from class org.apache.commons.scxml.env.SimpleContext | 
|---|
getLog, getParent, getVars, reset, set, setLocal, setLog, setVars | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public SessionContext(javax.faces.context.FacesContext fc)
fc - The current FacesContext
public SessionContext(javax.faces.context.FacesContext fc,
                      Context parent)
fc - The current FacesContextparent - A parent Context, can be null| Method Detail | 
|---|
public Object get(String name)
get in interface Contextget in class SimpleContextname - The name of the variable
Context.get(java.lang.String)public boolean has(String name)
has in interface Contexthas in class SimpleContextname - The name of the variable
Context.has(java.lang.String)
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||