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,
org.ocpsoft.rewrite.context.EvaluationContext context)
Perform the wrapped operation before or after the specified phases.
|
int |
priority() |
static PhaseAction |
retrieveFrom(org.ocpsoft.rewrite.bind.Retrieval retrieval)
Create an
Operation that invokes the given Retrieval and processes InvocationResultHandler
instances on the result value (if any). |
static PhaseAction |
submitTo(org.ocpsoft.rewrite.bind.Submission to,
org.ocpsoft.rewrite.bind.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, performHttpperformpublic static PhaseAction retrieveFrom(org.ocpsoft.rewrite.bind.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(org.ocpsoft.rewrite.bind.Submission to, org.ocpsoft.rewrite.bind.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, org.ocpsoft.rewrite.context.EvaluationContext context)
PhaseOperationperformOperation in class PhaseOperation<PhaseAction>Copyright © 2019 OCPsoft. All rights reserved.