|
Oracle Application Development Framework Lifecycle Java API Reference 10g Release 3 (10.1.3) B25779-01 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
oracle.adf.controller.v2.lifecycle.Lifecycle
Processing of the Lifecycle.
It handle the registration of PagePhaseListener and make sure that during execution the listeners are notified of the beforePhase and afterPhase event. This class also delegate the implementation of each of the phase to the PageController.
| Nested Class Summary | |
protected static class |
Lifecycle.PhaseTypesafe enumeration of all existing phases of the Lifecycle. |
| Constructor Summary | |
Lifecycle() |
|
| Method Summary | |
void |
addPagePhaseListener(PagePhaseListener listener)Add a new PagePhaseListener to the set of registered listeners. |
abstract void |
execute(java.util.Map envMap)Execute all the phases of the Lifecycle and define the order in which each phase is going to be executed. |
protected void |
executePhase(Lifecycle.Phase phase, LifecycleContext context)Helper method to execute a phase. |
PagePhaseListener[] |
getPagePhaseListeners()Return the array of registred PagePhaseListener for this instance of the Lifecycle. |
void |
removePagePhaseListener(PagePhaseListener listener)Deregister an existing PagePhaseListener instance. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected java.util.List listeners
protected static final Lifecycle.Phase INIT_CONTEXT
initContext phase.protected static final Lifecycle.Phase PREPARE_MODEL
prepareModel phase.protected static final Lifecycle.Phase APPLY_INPUT_VALUES
applyInputValues phase.protected static final Lifecycle.Phase VALIDATE_INPUT_VALUES
validateInputValues phase.protected static final Lifecycle.Phase PROCESS_UPDATE_MODEL
processUpdateModel phase.protected static final Lifecycle.Phase VALIDATE_MODEL_UPDATES
validateModelUpdates phase.protected static final Lifecycle.Phase PROCESS_COMPONENT_EVENTS
processComponentEvents phase.protected static final Lifecycle.Phase METADATA_COMMIT
metadataCommit phase.protected static final Lifecycle.Phase PREPARE_RENDER
prepareRender phase.public static final int INIT_CONTEXT_ID
INIT_CONTEXT phase.public static final int PREPARE_MODEL_ID
PREPARE_MODEL phase.public static final int APPLY_INPUT_VALUES_ID
APPLY_INPUT_VALUES phase.public static final int VALIDATE_INPUT_VALUES_ID
VALIDATE_INPUT_VALUES phase.public static final int PROCESS_UPDATE_MODEL_ID
PROCESS_UPDATE_MODEL phase.public static final int VALIDATE_MODEL_UPDATES_ID
VALIDATE_MODEL_UPDATES phase.public static final int PROCESS_COMPONENT_EVENTS_ID
PROCESS_COMPONENT_EVENTS phase.public static final int PREPARE_RENDER_ID
PREPARE_RENDER phase.| Constructor Detail |
public Lifecycle()
| Method Detail |
public void addPagePhaseListener(PagePhaseListener listener)
Add a new PagePhaseListener to the set of registered listeners.
The PagePhaseListener will be notified of each phase with an event before and an event after the execution of the phase.
public void removePagePhaseListener(PagePhaseListener listener)
PagePhaseListener instance.public PagePhaseListener[] getPagePhaseListeners()
Return the array of registred PagePhaseListener for this instance of the Lifecycle.
public abstract void execute(java.util.Map envMap)
throws java.lang.Exception
Execute all the phases of the Lifecycle and define the order in which each phase is going to be executed.
The current environment is passed anonymously, it contain data the Lifecycle will use to build the LifecycleContext.
java.lang.Exception
protected void executePhase(Lifecycle.Phase phase,
LifecycleContext context)
phase - the phase to executecontext - the LifecycleContext that will use to call the phase.
|
Oracle Application Development Framework Lifecycle Java API Reference 10g Release 3 (10.1.3) B25779-01 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||