|
Oracle Fusion Middleware Java API Reference for Oracle ADF Lifecycle 11g Release 1 (11.1.1) E10652-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.adf.controller.v2.lifecycle.PagePhaseListenerManager
oracle.adf.controller.v2.lifecycle.Lifecycle
public abstract class 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.Phase Typesafe enumeration of all existing phases of the Lifecycle. |
Constructor Summary | |
---|---|
Lifecycle() |
Method Summary | |
---|---|
abstract void |
addPagePhaseListener(PagePhaseListener listener) Deprecated. Use PagePhaseListenerManager.addPagePhaseListener(oracle.adf.controller.v2.lifecycle.PagePhaseListener, java.lang.String, java.util.Set<java.lang.String>, java.util.Set<java.lang.String>) |
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. |
abstract PagePhaseListener[] |
getPagePhaseListeners() Deprecated. Use PagePhaseListenerManager.getPagePhaseListenerIds() |
static java.lang.String |
getPhaseName(int id) Return the name of the phase given its id. |
abstract void |
removePagePhaseListener(PagePhaseListener listener) Deprecated. Use PagePhaseListenerManager.removePagePhaseListener(String) |
Methods inherited from class oracle.adf.controller.v2.lifecycle.PagePhaseListenerManager |
---|
addPagePhaseListener, getPagePhaseListener, getPagePhaseListenerIds, removePagePhaseListener |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.util.List<java.lang.String> mPhaseNames
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 METADATA_COMMIT_ID
METADATA_COMMIT
phase.public static final int PREPARE_RENDER_ID
PREPARE_RENDER
phase.Constructor Detail |
---|
public Lifecycle()
Method Detail |
---|
public abstract void addPagePhaseListener(PagePhaseListener listener)
PagePhaseListenerManager.addPagePhaseListener(oracle.adf.controller.v2.lifecycle.PagePhaseListener, java.lang.String, java.util.Set<java.lang.String>, java.util.Set<java.lang.String>)
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 abstract void removePagePhaseListener(PagePhaseListener listener)
PagePhaseListenerManager.removePagePhaseListener(String)
PagePhaseListener
instance.public abstract PagePhaseListener[] getPagePhaseListeners()
PagePhaseListenerManager.getPagePhaseListenerIds()
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
public static final java.lang.String getPhaseName(int id)
id
- phase id
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Lifecycle 11g Release 1 (11.1.1) E10652-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |