Class DefaultDispatchedPageBean

java.lang.Object
org.eclnt.jsfserver.pagebean.PageBean
org.eclnt.jsfserver.managedbean.DefaultDispatchedPageBean
All Implemented Interfaces:
Serializable, IPageBean, IDynamicContentBindingObject
Direct Known Subclasses:
WorkpageDispatchedPageBean

public abstract class DefaultDispatchedPageBean extends PageBean implements Serializable
Default implementation of bean that is managed by a dispatcher. The bean gets passed the dispatcher that is owning the bean via its constructor.
See Also:
  • Constructor Details

    • DefaultDispatchedPageBean

      public DefaultDispatchedPageBean(IDispatcher dispatcher)
  • Method Details

    • setDispatcher

      public void setDispatcher(IDispatcher dispatcher)
      Set the dispatcher. By default the dispatche is passed within the constructor. In order to support CDI-scenarios requiring constructors without any parameters you also can set the dispatcher - but need to do this directly after the creation of the instance! (Typically you need to update the Disptacher itself in order to do this.) This method will throw a runtime exception if the dispatcher is already set within the component.
    • getOwningDispatcher

      public IDispatcher getOwningDispatcher()