org.ocpsoft.rewrite.faces.config
Class PhaseInjection
java.lang.Object
org.ocpsoft.rewrite.config.OperationBuilder
org.ocpsoft.rewrite.servlet.config.HttpOperation
org.ocpsoft.rewrite.faces.config.PhaseOperation<PhaseInjection>
org.ocpsoft.rewrite.faces.config.PhaseInjection
- All Implemented Interfaces:
- org.ocpsoft.common.pattern.Weighted, Binding, Retrieval, Submission, Operation
public class PhaseInjection
- extends PhaseOperation<PhaseInjection>
- implements Binding
Wraps & holds a param binding till before or after a given JavaServer Faces PhaseId
- Author:
- Fabien Marsaud
|
Method Summary |
java.lang.Object |
convert(Rewrite event,
EvaluationContext context,
java.lang.Object value)
|
void |
performOperation(HttpServletRewrite event,
EvaluationContext context)
|
int |
priority()
|
java.lang.Object |
retrieve(Rewrite event,
EvaluationContext context)
|
java.lang.Object |
submit(Rewrite event,
EvaluationContext context,
java.lang.Object value)
|
boolean |
supportsRetrieval()
|
boolean |
supportsSubmission()
|
boolean |
validates(Rewrite event,
EvaluationContext context,
java.lang.Object value)
|
static PhaseInjection |
withhold(Binding binding)
Wraps the Binding into a new PhaseInjection, so as to have it performed duriung the JSF lifecycle By default, the
original binding will be performed after PhaseId.RESTORE_VIEW |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
priority
public int priority()
- Specified by:
priority in interface org.ocpsoft.common.pattern.Weighted
performOperation
public void performOperation(HttpServletRewrite event,
EvaluationContext context)
- Specified by:
performOperation in class PhaseOperation<PhaseInjection>
withhold
public static PhaseInjection withhold(Binding binding)
- Wraps the Binding into a new PhaseInjection, so as to have it performed duriung the JSF lifecycle By default, the
original binding will be performed after
PhaseId.RESTORE_VIEW
retrieve
public java.lang.Object retrieve(Rewrite event,
EvaluationContext context)
- Specified by:
retrieve in interface Retrieval
convert
public java.lang.Object convert(Rewrite event,
EvaluationContext context,
java.lang.Object value)
- Specified by:
convert in interface Submission
validates
public boolean validates(Rewrite event,
EvaluationContext context,
java.lang.Object value)
- Specified by:
validates in interface Submission
submit
public java.lang.Object submit(Rewrite event,
EvaluationContext context,
java.lang.Object value)
- Specified by:
submit in interface Submission
supportsRetrieval
public boolean supportsRetrieval()
- Specified by:
supportsRetrieval in interface Binding
supportsSubmission
public boolean supportsSubmission()
- Specified by:
supportsSubmission in interface Binding
Copyright © 2012 OCPsoft. All Rights Reserved.