org.apache.myfaces.orchestra.viewController
Class ViewControllerManagerFactory

java.lang.Object
  extended by org.apache.myfaces.orchestra.viewController.ViewControllerManagerFactory

public class ViewControllerManagerFactory
extends Object

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.

Since:
1.3

Constructor Summary
ViewControllerManagerFactory()
           
 
Method Summary
static ViewControllerManager getInstance()
          Returns the singleton ViewControllerManager object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ViewControllerManagerFactory

public ViewControllerManagerFactory()
Method Detail

getInstance

public static ViewControllerManager getInstance()
Returns the singleton ViewControllerManager object.

If a bean with name "org.apache.myfaces.orchestra.viewController.ViewControllerManager" exists then this is returned. This bean is expected to be a singleton.

Otherwise a singleton instance of DefaultViewControllerManager will be returned.



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