|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.webflow.executor.jsf.JsfExternalContext
public class JsfExternalContext
Provides contextual information about a JSF environment that has interacted with SWF.
Constructor Summary | |
---|---|
JsfExternalContext(javax.faces.context.FacesContext facesContext)
Creates a JSF External Context. |
Method Summary | |
---|---|
java.lang.String |
getActionId()
Returns the action identifier. |
SharedAttributeMap |
getApplicationMap()
Provides access to the external application map, providing a storage for data local to the current user application and accessible to both internal and external SWF artifacts. |
java.lang.String |
getContextPath()
Returns the path (or identifier) of the application that is executing. |
java.lang.String |
getDispatcherPath()
Returns the path (or identifier) of the dispatcher within the application that dispatched this request. |
javax.faces.context.FacesContext |
getFacesContext()
Returns the JSF FacesContext. |
SharedAttributeMap |
getGlobalSessionMap()
Provides access to the global external session map, providing a storage for data globally accross the user session and accessible to both internal and external SWF artifacts. |
java.lang.String |
getOutcome()
Returns the action outcome. |
MutableAttributeMap |
getRequestMap()
Provides access to the external request attribute map, providing a storage for data local to the current user request and accessible to both internal and external SWF artifacts. |
ParameterMap |
getRequestParameterMap()
Provides access to the parameters associated with the user request that led to SWF being called. |
java.lang.String |
getRequestPathInfo()
Returns the path info of this external request. |
SharedAttributeMap |
getSessionMap()
Provides access to the external session map, providing a storage for data local to the current user session and accessible to both internal and external SWF artifacts. |
void |
handleNavigationCalled(java.lang.String actionId,
java.lang.String outcome)
Records the action and outcome context information when navigation handling occurs. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public JsfExternalContext(javax.faces.context.FacesContext facesContext)
facesContext
- the JSF faces contextMethod Detail |
---|
public java.lang.String getContextPath()
ExternalContext
getContextPath
in interface ExternalContext
public java.lang.String getDispatcherPath()
ExternalContext
getDispatcherPath
in interface ExternalContext
public java.lang.String getRequestPathInfo()
ExternalContext
getRequestPathInfo
in interface ExternalContext
public ParameterMap getRequestParameterMap()
ExternalContext
getRequestParameterMap
in interface ExternalContext
public MutableAttributeMap getRequestMap()
ExternalContext
getRequestMap
in interface ExternalContext
public SharedAttributeMap getSessionMap()
ExternalContext
getSessionMap
in interface ExternalContext
public SharedAttributeMap getGlobalSessionMap()
ExternalContext
Note: most external context implementations do not distinguish between the concept of a "local" user session
scope and a "global" session scope. The Portlet world does, but not the Servlet for example. In those cases
calling this method returns the same map as calling ExternalContext.getSessionMap()
.
getGlobalSessionMap
in interface ExternalContext
public SharedAttributeMap getApplicationMap()
ExternalContext
getApplicationMap
in interface ExternalContext
public javax.faces.context.FacesContext getFacesContext()
public java.lang.String getActionId()
public java.lang.String getOutcome()
public void handleNavigationCalled(java.lang.String actionId, java.lang.String outcome)
actionId
- the from action identifieroutcome
- the action outcomepublic java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |