javax.faces.lifecycle
Class LifecycleFactory

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

public abstract class LifecycleFactory
extends java.lang.Object
implements FacesWrapper<LifecycleFactory>

see Javadoc of JSF Specification

Version:
$Revision: 723197 $ $Date: 2008-12-03 21:56:39 -0500 (Wed, 03 Dec 2008) $
Author:
Manfred Geiler (latest modification by $Author: lu4242 $)

Field Summary
static java.lang.String DEFAULT_LIFECYCLE
           
 
Constructor Summary
LifecycleFactory()
           
 
Method Summary
abstract  void addLifecycle(java.lang.String lifecycleId, Lifecycle lifecycle)
           
abstract  Lifecycle getLifecycle(java.lang.String lifecycleId)
           
abstract  java.util.Iterator<java.lang.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 java.lang.String DEFAULT_LIFECYCLE
See Also:
Constant Field Values
Constructor Detail

LifecycleFactory

public LifecycleFactory()
Method Detail

addLifecycle

public abstract void addLifecycle(java.lang.String lifecycleId,
                                  Lifecycle lifecycle)

getLifecycle

public abstract Lifecycle getLifecycle(java.lang.String lifecycleId)

getLifecycleIds

public abstract java.util.Iterator<java.lang.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 © 2010 The Apache Software Foundation. All Rights Reserved.