Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES

## Package org.apache.myfaces.orchestra.viewController

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

See:
Description

Interface Summary
ViewController | An interface for use with the InterfaceViewControllerExecutor.
ViewControllerExecutor | Find the appropriate method to invoke on a bean for each view lifecycle event.
ViewControllerManager | Route per-view lifecycle events to the correct user methods.
ViewControllerNameMapper | Convert the identifier of a view to the name of a bean that should handle lifecycle events for that view.

Class Summary
AbstractAnnotationsViewControllerManager | A `ViewControllerManager` implementation which uses annotations on backing beans to determine the beans responsible for a given view and execute the appropriate annotated methods.
AbstractViewControllerExecutor | An implementation of ViewControllerExecutor that can be subclassed to customise the mapping of lifecycle events to bean methods.
AbstractViewControllerManager | A partial implementation of the ViewControllerManager interface which allows subclasses to just implement two simple abstract methods in order to provide a fully functional ViewControllerManager implementation.
AnnotationsViewControllerExecutor | Execute the various viewController events on the viewController by calling the corresponding annotated method.
AnnotationsViewControllerManager | A `ViewControllerManager` implementation which uses annotations on backing beans to determine the beans responsible for a given view and execute the appropriate annotated methods.
AnnotationsViewControllerNameMapper | Lookup a bean configured using the ViewController annotation which is responsible for the given `viewId`.
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 | A ViewControllerManager which uses the `DefaultViewControllerNameMapper` to map view-ids to bean names and the `ReflectiveViewControllerExecutor` to invoke view controller events on beans.
DefaultViewControllerNameMapper | Map view-ids to bean names, using a dirSubdirPage style format.
InterfaceViewControllerExecutor | Invokes ViewController events using the `ViewController` interface.
PlainAnnotationsViewControllerManager | A `ViewControllerManager` implementation which uses annotations on backing beans to determine the beans responsible for a given view and execute the appropriate annotated methods.
ReflectiveViewControllerExecutor | Invokes ViewController events using reflection.
ViewControllerManagerFactory | Provides facility to look up the ViewControllerManager instance that is used by Orchestra to invoke lifecycle methods on "controller beans" associated with the current view.

## 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.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES

Copyright © 2009 The Apache Software Foundation. All Rights Reserved.