org.ocpsoft.rewrite.faces.config
Class PhaseAction
java.lang.Object
org.ocpsoft.rewrite.config.DefaultOperationBuilder
org.ocpsoft.rewrite.servlet.config.HttpOperation
org.ocpsoft.rewrite.faces.config.PhaseOperation<PhaseAction>
org.ocpsoft.rewrite.faces.config.PhaseAction
- All Implemented Interfaces:
- org.ocpsoft.common.pattern.Weighted, ConfigurationElement, Operation, OperationBuilder
public class PhaseAction
- extends PhaseOperation<PhaseAction>
Invoke an action before or after a given JavaServer Faces PhaseId. Has a Weighted.priority() of 0.
- Author:
- Lincoln Baxter, III
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
retrieveFrom
public static PhaseAction retrieveFrom(Retrieval retrieval)
- Invoke the given
Retrieval and process InvocationResultHandler instances on the result value (if
any.)
By default, this action is invoked after PhaseId.RESTORE_VIEW
submitTo
public static PhaseAction submitTo(Submission to,
Retrieval from)
- Invoke
Submission.submit(org.ocpsoft.rewrite.event.Rewrite, EvaluationContext, Object), use 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
priority
public int priority()
performOperation
public void performOperation(HttpServletRewrite event,
EvaluationContext context)
- Description copied from class:
PhaseOperation
- Perform operation before or after the specified phases.
- Specified by:
performOperation in class PhaseOperation<PhaseAction>
Copyright © 2013 OCPsoft. All Rights Reserved.