public abstract class PhaseAction extends PhaseOperation<PhaseAction>
Operation that invokes an action before or after a given JavaServer Faces PhaseId. Has a
Weighted.priority() of 0.PhaseOperation.DeferredOperation| Modifier and Type | Method and Description |
|---|---|
void |
performOperation(HttpServletRewrite event,
EvaluationContext context)
Perform the wrapped operation before or after the specified phases.
|
int |
priority() |
static PhaseAction |
retrieveFrom(Retrieval retrieval)
Create an
Operation that invokes the given Retrieval and processes InvocationResultHandler
instances on the result value (if any). |
static PhaseAction |
submitTo(Submission to,
Retrieval from)
Create an
Operation that invokes
Submission.submit(org.ocpsoft.rewrite.event.Rewrite, EvaluationContext, Object), and uses the result of
the given Retrieval.retrieve(org.ocpsoft.rewrite.event.Rewrite, EvaluationContext) as the value for this
submission. |
after, before, enqueue, enqueue, getAfterPhases, getBeforePhases, getSortedPhaseOperations, performHttpperformandpublic static PhaseAction retrieveFrom(Retrieval retrieval)
Operation that invokes the given Retrieval and processes InvocationResultHandler
instances on the result value (if any).
By default, this action is invoked after PhaseId.RESTORE_VIEW
public static PhaseAction submitTo(Submission to, Retrieval from)
Operation that invokes
Submission.submit(org.ocpsoft.rewrite.event.Rewrite, EvaluationContext, Object), and uses the result of
the given Retrieval.retrieve(org.ocpsoft.rewrite.event.Rewrite, EvaluationContext) as the value for this
submission. Process InvocationResultHandler instances on the result value (if any).
By default, this action is invoked after PhaseId.RESTORE_VIEW
public int priority()
public void performOperation(HttpServletRewrite event, EvaluationContext context)
PhaseOperationperformOperation in class PhaseOperation<PhaseAction>Copyright © 2015 OCPsoft. All Rights Reserved.