org.apache.myfaces.orchestra.viewController
Class CompositeViewControllerExecutor
java.lang.Object
org.apache.myfaces.orchestra.viewController.CompositeViewControllerExecutor
- All Implemented Interfaces:
- ViewControllerExecutor
public class CompositeViewControllerExecutor
- extends Object
- implements ViewControllerExecutor
Each executor configured with the constructor will be asked to execute the
requested method on the bean. The search will end if the executor returns "true".
As an example, this can be configured to first try an executor that checks whether
the bean implements a specific interface, then try one that uses reflection to find
magic method-names, then try one that looks for annotations.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CompositeViewControllerExecutor
public CompositeViewControllerExecutor(ViewControllerExecutor[] viewControllerExecutors)
invokeInitView
public boolean invokeInitView(String beanName,
Object bean)
- Specified by:
invokeInitView
in interface ViewControllerExecutor
invokePreRenderView
public boolean invokePreRenderView(String beanName,
Object bean)
- Specified by:
invokePreRenderView
in interface ViewControllerExecutor
invokePreProcess
public boolean invokePreProcess(String beanName,
Object bean)
- Specified by:
invokePreProcess
in interface ViewControllerExecutor
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.