FlowController
PageFlowConstants
Base class for user-defined global state and fallback controller logic. A specific instance of
this class (based on the Global.app source file in /WEB-INF/src/global) is created and stored in
the user session before any PageFlowController
is created, and unless it is explicitly
removed from the session, it is not freed until the session is invalidated.
Actions that are not handled by the current PageFlowController
"bubble" up to the
current GlobalApp instance, which gets a chance to handle them in user-defined action methods.
Uncaught exceptions also bubble through the GlobalApp instance, which has a chance to catch
them.
Data in the current GlobalApp instance can be accessed by databinding tags using the
globalApp
scope.
Related Topics
Object
Action
FlowController
GlobalApp
EventListener
, HttpSessionBindingListener
, PageFlowConstants
, Serializable
Field Summary |
Fields from org.apache.struts.action. |
ACTION_SERVLET_KEY, APPLICATION_KEY, DATA_SOURCE_KEY, defaultLocale, ERROR_KEY, EXCEPTION_KEY, FORM_BEANS_KEY, FORWARDS_KEY, LOCALE_KEY, MAPPING_KEY, MAPPINGS_KEY, MESSAGE_KEY, MESSAGES_KEY, MULTIPART_KEY, PLUG_INS_KEY, REQUEST_PROCESSOR_KEY, servlet, SERVLET_KEY, TRANSACTION_TOKEN_KEY |
Constructor Summary |
Method Summary |
public void |
|
public | |
public |
|
Methods from com.bea.wlw.netui.pageflow. |
|
Methods from org.apache.struts.action. |
execute, execute, generateToken, getDataSource, getDataSource, getLocale, getResources, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, perform, perform, resetToken, saveErrors, saveMessages, saveToken, setLocale, setServlet, toHex |
Methods from class java.lang. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods from interface javax.servlet.http. |
valueBound, valueUnbound |
Constructor Detail |
public GlobalApp()
Method Detail |
public void ensureFailover(HttpServletRequest
request)
Ensures that any changes to this FlowController will be replicated in a cluster (for failover),
even if the replication scheme uses a change-detection algorithm that relies on
HttpSession.setAttribute to be aware of changes.
FlowController.ensureFailover(HttpServletRequest)
public String
getDisplayName()
FlowController.getDisplayName()
public String
getModulePath()
Get the Struts module path for Global.app.
FlowController.getModulePath()