Package org.eclnt.jsfserver.managedbean
Class DefaultDispatchedBean
java.lang.Object
org.eclnt.jsfserver.managedbean.DefaultDispatchedBean
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
WorkpageDispatchedBean
,WorkplaceFavorites
,WorkplaceFavoritesSquare
,WorkplaceFunctionTree
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
Called as part of the "destruction" of the Dispatcher-instance.void
setDispatcher
(IDispatcher dispatcher) Set the dispatcher.
-
Constructor Details
-
DefaultDispatchedBean
-
-
Method Details
-
getOwningDispatcher
-
ccDestroy
protected void ccDestroy()Called as part of the "destruction" of the Dispatcher-instance. -
setDispatcher
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.
-