javax.faces.lifecycle
Class LifecycleFactory

java.lang.Object
  extended by javax.faces.lifecycle.LifecycleFactory
All Implemented Interfaces:
FacesWrapper<LifecycleFactory>

public abstract class LifecycleFactory
extends Object
implements FacesWrapper<LifecycleFactory>

see Javadoc of JSF Specification

Version:
$Revision: 1187700 $ $Date: 2011-10-22 07:19:37 -0500 (Sat, 22 Oct 2011) $
Author:
Manfred Geiler (latest modification by $Author: bommel $)

Field Summary
static String DEFAULT_LIFECYCLE
           
 
Constructor Summary
LifecycleFactory()
           
 
Method Summary
abstract  void addLifecycle(String lifecycleId, Lifecycle lifecycle)
           
abstract  Lifecycle getLifecycle(String lifecycleId)
           
abstract  Iterator<String> getLifecycleIds()
           
 LifecycleFactory getWrapped()
          If this factory has been decorated, the implementation doing the decorating may override this method to provide access to the implementation being wrapped.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_LIFECYCLE

public static final String DEFAULT_LIFECYCLE
See Also:
Constant Field Values
Constructor Detail

LifecycleFactory

public LifecycleFactory()
Method Detail

addLifecycle

public abstract void addLifecycle(String lifecycleId,
                                  Lifecycle lifecycle)

getLifecycle

public abstract Lifecycle getLifecycle(String lifecycleId)

getLifecycleIds

public abstract Iterator<String> getLifecycleIds()

getWrapped

public LifecycleFactory getWrapped()
If this factory has been decorated, the implementation doing the decorating may override this method to provide access to the implementation being wrapped. A default implementation is provided that returns null.

Specified by:
getWrapped in interface FacesWrapper<LifecycleFactory>
Returns:
the decorated LifecycleFactory if this factory decorates another, or null otherwise
Since:
2.0


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