org.apache.myfaces.extensions.cdi.jsf.api.listener.phase
Interface JsfLifecyclePhaseInformation


public interface JsfLifecyclePhaseInformation

Allows to detect the current request-lifecycle-phase in a bean.


Method Summary
 boolean isApplyRequestValuesPhase()
          Evaluates if the current phase is the apply-request-values phase.
 boolean isInvokeApplicationPhase()
          Evaluates if the current phase is the invoke-application phase.
 boolean isProcessValidationsPhase()
          Evaluates if the current phase is the process-validations phase.
 boolean isRenderResponsePhase()
          Evaluates if the current phase is the render-response phase.
 boolean isRestoreViewPhase()
          Evaluates if the current phase is the restore-view phase.
 boolean isUpdateModelValuesPhase()
          Evaluates if the current phase is the update-model-values phase.
 

Method Detail

isRestoreViewPhase

boolean isRestoreViewPhase()
Evaluates if the current phase is the restore-view phase.

Returns:
true if the current phase matches the restore-view phase, false otherwise

isApplyRequestValuesPhase

boolean isApplyRequestValuesPhase()
Evaluates if the current phase is the apply-request-values phase.

Returns:
true if the current phase matches the apply-request-values phase, false otherwise

isProcessValidationsPhase

boolean isProcessValidationsPhase()
Evaluates if the current phase is the process-validations phase.

Returns:
true if the current phase matches the process-validations phase, false otherwise

isUpdateModelValuesPhase

boolean isUpdateModelValuesPhase()
Evaluates if the current phase is the update-model-values phase.

Returns:
true if the current phase matches the update-model-values phase, false otherwise

isInvokeApplicationPhase

boolean isInvokeApplicationPhase()
Evaluates if the current phase is the invoke-application phase.

Returns:
true if the current phase matches the invoke-application phase, false otherwise

isRenderResponsePhase

boolean isRenderResponsePhase()
Evaluates if the current phase is the render-response phase.

Returns:
true if the current phase matches the render-response phase, false otherwise


Copyright © 2010-2011 The Apache Software Foundation. All Rights Reserved.