public interface ViewLifecycleProcessor
Modifier and Type | Method and Description |
---|---|
ViewLifecyclePhase |
getActivePhase()
Gets the phase actively being processing on the current thread.
|
ExpressionEvaluator |
getExpressionEvaluator()
Returns an instance of
ExpressionEvaluator that can be
used for evaluating expressions contained on the view. |
ViewLifecycle |
getLifecycle()
Gets the lifecycle associated with this processor.
|
LifecycleRenderingContext |
getRenderingContext()
Gets a thread-local rending context for invoking FreeMarker operations on the current thread.
|
void |
offerPendingPhase(ViewLifecyclePhase phase)
Queues a lifecycle phase to be processed within the lifecycle associated with this processor.
|
void |
performPhase(ViewLifecyclePhase initialPhase)
Performs a lifecycle phase according to this processor's semantics, blocking until the phase
has been completely processed.
|
void |
pushPendingPhase(ViewLifecyclePhase phase)
Pushes lifecycle phases to be processed within the lifecycle associated with this processor.
|
void performPhase(ViewLifecyclePhase initialPhase)
initialPhase
- The initial lifecycle phasevoid pushPendingPhase(ViewLifecyclePhase phase)
A phase submitted using this method will be added to the front of the queue, to be processed by the next available processor.
phase
- The phase to be processed within the lifecycle associated with this processor.void offerPendingPhase(ViewLifecyclePhase phase)
A phase submitted using this method will be added to the end of the queue, to be processed after all other phases currently in the queue have been submitted.
phase
- The phase to be processed within the lifecycle associated with this processor.ViewLifecyclePhase getActivePhase()
ViewLifecycle getLifecycle()
LifecycleRenderingContext getRenderingContext()
ExpressionEvaluator getExpressionEvaluator()
ExpressionEvaluator
that can be
used for evaluating expressions contained on the view.
A ExpressionEvaluator must be initialized with a model for expression evaluation. One instance is constructed for the view lifecycle and made available to all components/helpers through this method
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.