public final class JsfFactoryUtil extends Object
FactoryFinder
and
Lifecycle
.Modifier and Type | Method and Description |
---|---|
static void |
addPhaseListener(javax.faces.event.PhaseListener phaseListener)
Convenience method to add a PhaseListener.
|
static javax.faces.lifecycle.Lifecycle |
getLifecycle()
Convenience method to get the default Life cycle.
|
static javax.faces.lifecycle.LifecycleFactory |
getLifecycleFactory()
Convenience method to get the Life cycle factory.
|
static void |
removePhaseListener(javax.faces.event.PhaseListener phaseListener)
Convenience method to remove a PhaseListener.
|
public static javax.faces.lifecycle.LifecycleFactory getLifecycleFactory()
public static javax.faces.lifecycle.Lifecycle getLifecycle()
public static void addPhaseListener(javax.faces.event.PhaseListener phaseListener)
phaseListener
- The PhaseListener to add.NullPointerException
- When the supplied phaseListener is null.public static void removePhaseListener(javax.faces.event.PhaseListener phaseListener)
phaseListener
- The PhaseListener to remove.NullPointerException
- When the supplied phaseListener is null.Copyright © 2008–2018. All rights reserved.