org.apache.beehive.netui.pageflow
Class FacesBackingBean

Object
  extended by PageFlowManagedObject
      extended by FacesBackingBean
All Implemented Interfaces:
Serializable, EventListener, HttpSessionBindingListener

public abstract class FacesBackingBean
extends PageFlowManagedObject

See Also:
Serialized Form

Constructor Summary
FacesBackingBean()
           
 
Method Summary
 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.
 String getDisplayName()
           
protected  Object getPageInput(String pageInputName)
           
 Map getPageInputMap()
           
 void persistInSession(HttpServletRequest request, HttpServletResponse response)
          Store this object in the user session, in the appropriate place.
 void reinitialize(HttpServletRequest request, HttpServletResponse response, ServletContext servletContext)
          Initialize transient data that may have been lost during session failover.
protected  void removeFromSession(HttpServletRequest request)
          Remove this instance from the session.
 
Methods inherited from class PageFlowManagedObject
create, fieldIsUninitialized, getServletContext, initializeField, onCreate, onDestroy, valueBound, valueUnbound
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FacesBackingBean

public FacesBackingBean()
Method Detail

persistInSession

public void persistInSession(HttpServletRequest request,
                             HttpServletResponse response)
Description copied from class: PageFlowManagedObject
Store this object in the user session, in the appropriate place.

Specified by:
persistInSession in class PageFlowManagedObject

removeFromSession

protected void removeFromSession(HttpServletRequest request)
Description copied from class: PageFlowManagedObject
Remove this instance from the session.

Specified by:
removeFromSession in class PageFlowManagedObject

ensureFailover

public void ensureFailover(HttpServletRequest request)
Description copied from class: PageFlowManagedObject
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.

Specified by:
ensureFailover in class PageFlowManagedObject
Parameters:
request - the current HttpServletRequest

getDisplayName

public String getDisplayName()
Specified by:
getDisplayName in class PageFlowManagedObject

reinitialize

public void reinitialize(HttpServletRequest request,
                         HttpServletResponse response,
                         ServletContext servletContext)
Description copied from class: PageFlowManagedObject
Initialize transient data that may have been lost during session failover.

Overrides:
reinitialize in class PageFlowManagedObject

getPageInput

protected Object getPageInput(String pageInputName)

getPageInputMap

public Map getPageInputMap()