Package org.apache.myfaces.orchestra.viewController

Provide lifecycle callbacks (on view creation, pre-render, etc) for managed beans.

See:
          Description

Interface Summary
ViewController The ViewController interface

Your bean has to implement this interface if you've decided to use the InterfaceViewControllerExecutor to get notifications

ViewControllerExecutor The interface you have to use as basis class for any custom view controller executor.
ViewControllerManager Route per-view lifecycle events to the correct user methods.
ViewControllerNameMapper The interface for the name mapper.
 

Class Summary
_ViewControllerUtils Various utilities used by the viewController framework Notice: this class is not meant to be used outside of this library
AbstractViewControllerExecutor The abstract basis class you have to use as basis class for any custom view controller executor.
AbstractViewControllerManager  
CompositeViewControllerExecutor Each executor configured with the constructor will be asked to execute the requested method on the bean.
CompositeViewControllerNameMapper Each view controller configured with the constructor will be asked to map the given viewId.
DefaultViewControllerManager

The default ViewControllerManager which uses the DefaultViewControllerNameMapper to map view-ids to bean names and the ReflectiveViewControllerExecutor to invoke view controller events on your beans.

DefaultViewControllerNameMapper Map view-ids to bean names.
InterfaceViewControllerExecutor Invokes ViewController events using the ViewController interface
ReflectiveViewControllerExecutor Invokes ViewController events using reflection.
 

Package org.apache.myfaces.orchestra.viewController Description

Provide lifecycle callbacks (on view creation, pre-render, etc) for managed beans.

The ConversationRequire annotation in Orchestra's core15 module needs lifecycle callbacks in order to work. It doesn't much matter what code triggers these callbacks, but unfortunately there is currently no open-source library available that does this and is compatible with Orchestra, so here an implementation is provided.

It is hoped that in future libraries such as Shale's ViewController module will be compatible with Orchestra, and perhaps that other alternatives also become available.

It is not one of Orchestra's goals to provide lifecycle callback features for managed beans, so this feature may be phased out when other alternatives are available.

See class ViewControllerManager for further documentation.



Copyright 2007 The Apache Software Foundation. All Rights Reserved.