oracle.adf.controller.v2.lifecycle
Class LifecycleProcessor
java.lang.Object
oracle.adf.controller.v2.lifecycle.PagePhaseListenerManager
oracle.adf.controller.v2.lifecycle.Lifecycle
oracle.adf.controller.v2.lifecycle.ADFLifecycle
oracle.adfinternal.controller.lifecycle.LifecycleImpl
oracle.adf.controller.v2.lifecycle.LifecycleProcessor
public class LifecycleProcessor
- extends oracle.adfinternal.controller.lifecycle.LifecycleImpl
Default implementation of the standard ADF Lifecycle processing.
final LifecycleContext context = LifecycleContext.getInstance(envMap);
executePhase(INIT_CONTEXT, context);
executePhase(PREPARE_MODEL, context);
executePhase(APPLY_INPUT_VALUES, context);
if (!context.getPrepareRender())
{
executePhase(VALIDATE_INPUT_VALUES, context);
}
if (!context.getPrepareRender())
{
executePhase(PROCESS_UPDATE_MODEL, context);
}
if (!context.getPrepareRender())
{
executePhase(VALIDATE_MODEL_UPDATES, context);
}
if (!context.getPrepareRender())
{
executePhase(PROCESS_COMPONENT_EVENTS, context);
}
if (!context.getPrepareRender())
{
executePhase(METADATA_COMMIT, context);
}
executePhase(PREPARE_RENDER, context);
- Since:
- 10.1.3
Fields inherited from class oracle.adf.controller.v2.lifecycle.Lifecycle |
APPLY_INPUT_VALUES, APPLY_INPUT_VALUES_ID, INIT_CONTEXT, INIT_CONTEXT_ID, METADATA_COMMIT, METADATA_COMMIT_ID, mPhaseNames, PREPARE_MODEL, PREPARE_MODEL_ID, PREPARE_RENDER, PREPARE_RENDER_ID, PROCESS_COMPONENT_EVENTS, PROCESS_COMPONENT_EVENTS_ID, PROCESS_UPDATE_MODEL, PROCESS_UPDATE_MODEL_ID, VALIDATE_INPUT_VALUES, VALIDATE_INPUT_VALUES_ID, VALIDATE_MODEL_UPDATES, VALIDATE_MODEL_UPDATES_ID |
Method Summary |
void |
execute(java.util.Map envMap)
Define the order in which all the phases of the PageLifecycle are
executed. |
static LifecycleProcessor |
getInstance()
Return the singleton LifecycleProcessor instance |
Methods inherited from class oracle.adfinternal.controller.lifecycle.LifecycleImpl |
addPagePhaseListener, addPagePhaseListener, dispatchAfterPagePhaseEvent, dispatchBeforePagePhaseEvent, executePhase, getPagePhaseListener, getPagePhaseListenerIds, getPagePhaseListeners, removePagePhaseListener, removePagePhaseListener |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInstance
public static LifecycleProcessor getInstance()
- Return the singleton LifecycleProcessor instance
execute
public void execute(java.util.Map envMap)
throws java.lang.Exception
- Define the order in which all the phases of the PageLifecycle are
executed.
- Specified by:
execute
in class Lifecycle
- Parameters:
envMap
- Map used to instanciate the LifecycleContext
- Throws:
java.lang.Exception
Copyright © 1997, 2010, Oracle. All rights reserved.