| java.lang.Object org.apache.beehive.netui.pageflow.PageFlowManagedObject
All known Subclasses: org.apache.beehive.netui.pageflow.FlowController, org.apache.beehive.netui.pageflow.FacesBackingBean,
Method Summary | |
public synchronized void | create(HttpServletRequest request, HttpServletResponse response, ServletContext servletContext) Initialize after object creation. | void | destroy(HttpSession session) Internal destroy method that is invoked when this object is being removed from the session. | abstract public void | ensureFailover(HttpServletRequest request) Ensures that any changes to this object 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. | protected boolean | fieldIsUninitialized(Field field) Tell whether the given Field is uninitialized. | public long | getCreateTime() Get the time at which this object was created. | abstract public String | getDisplayName() Get the display name for this managed object. | protected ServletContext | getServletContext() Get the current ServletContext. | protected void | initializeField(Field field, Object instance) Initialize the given field with an instance. | boolean | isDestroyed() Package protected getter that provides access to a read-only property about the current state
of this Page Flow. | protected void | onCreate() Create-time callback. | protected void | onDestroy(HttpSession session) Callback that occurs when this object is "destroyed", i.e., removed from the session. | abstract public void | persistInSession(HttpServletRequest request, HttpServletResponse response) Store this object in the user session, in the appropriate place. | public void | reinitialize(HttpServletRequest request, HttpServletResponse response, ServletContext servletContext) Reinitialize the object for a new request. | void | reinitializeIfNecessary(HttpServletRequest request, HttpServletResponse response, ServletContext servletContext) Internal method to reinitialize only if necessary. | abstract public void | removeFromSession(HttpServletRequest request) Remove this instance from the session. | public void | valueBound(HttpSessionBindingEvent event) Callback when this object is added to the user session. | public void | valueUnbound(HttpSessionBindingEvent event) Callback when this object is removed from the user session. |
PageFlowManagedObject | protected PageFlowManagedObject()(Code) | | |
destroy | void destroy(HttpSession session)(Code) | | Internal destroy method that is invoked when this object is being removed from the session. This is a
framework-invoked method; it should not normally be called directly.
|
ensureFailover | abstract public void ensureFailover(HttpServletRequest request)(Code) | | Ensures that any changes to this object 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. Note that this method is used by the framework
and does not need to be called explicitly in most cases.
Parameters: request - the current HttpServletRequest |
fieldIsUninitialized | protected boolean fieldIsUninitialized(Field field)(Code) | | Tell whether the given Field is uninitialized.
true if the field is non-null and its value is null . |
getCreateTime | public long getCreateTime()(Code) | | Get the time at which this object was created.
the system time, in milliseconds, at which this object was created. |
getDisplayName | abstract public String getDisplayName()(Code) | | Get the display name for this managed object.
|
initializeField | protected void initializeField(Field field, Object instance)(Code) | | Initialize the given field with an instance. Mainly useful for the error handling.
|
isDestroyed | boolean isDestroyed()(Code) | | Package protected getter that provides access to a read-only property about the current state
of this Page Flow. If it has been destroyed in the middle of a request, this flag will return
true and false otherwise.
true if this object has been destroyed; false otherwise. |
onCreate | protected void onCreate() throws Exception(Code) | | Create-time callback. Occurs after internal initialization (e.g., Control fields) is done.
throws: Exception - |
onDestroy | protected void onDestroy(HttpSession session)(Code) | | Callback that occurs when this object is "destroyed", i.e., removed from the session.
Parameters: session - |
persistInSession | abstract public void persistInSession(HttpServletRequest request, HttpServletResponse response)(Code) | | Store this object in the user session, in the appropriate place. Used by the framework; normally should not be
called directly.
|
removeFromSession | abstract public void removeFromSession(HttpServletRequest request)(Code) | | Remove this instance from the session.
|
|
|