de.mindmatters.faces.lifecycle
Class LifecycleFactoryImpl
java.lang.Object
javax.faces.lifecycle.LifecycleFactory
de.mindmatters.faces.lifecycle.LifecycleFactoryImpl
public class LifecycleFactoryImpl
- extends LifecycleFactory
LifecycleFactory is a factory object that creates (if
needed) and returns Lifecycle
instances. This implementation delivers
a default lifecycle for the lifecycle-id
LifecycleFactory.DEFAULT_LIFECYCLE
and a modified one for the key
LifecycleImpl.JSF_SPRING_LIFECYCLE_ID
(which will be used for
integration purposes of SpringMVC).
- Author:
- Andreas Kuhrwahl
- See Also:
LifecycleImpl
Constructor Summary |
LifecycleFactoryImpl()
Default Constructor adding the default lifecycle to this factory. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LifecycleFactoryImpl
public LifecycleFactoryImpl()
- Default Constructor adding the default lifecycle to this factory.
addLifecycle
public final void addLifecycle(java.lang.String lifecycleId,
Lifecycle lifecycle)
-
- Specified by:
addLifecycle
in class LifecycleFactory
getLifecycle
public final Lifecycle getLifecycle(java.lang.String lifecycleId)
-
- Specified by:
getLifecycle
in class LifecycleFactory
getLifecycleIds
public final java.util.Iterator getLifecycleIds()
-
- Specified by:
getLifecycleIds
in class LifecycleFactory
createDefaultLifecycle
protected Lifecycle createDefaultLifecycle()
- Factory method for creating the default lifecycle. Defualt implementation
returns an instance of
LifecycleImpl
. May be overridden by
subclasses.
- Returns:
- the default lifecycle
Copyright © 2006 mindmatters GmbH & Co. KG