Oracle Fusion Middleware Java API Reference for Oracle ADF Lifecycle
11g Release 1 (11.1.1.6.0)

E10652-07

oracle.adf.controller.v2.lifecycle
Class LifecycleProcessor

java.lang.Object
  extended by oracle.adf.controller.v2.lifecycle.PagePhaseListenerManager
      extended by oracle.adf.controller.v2.lifecycle.Lifecycle
          extended by oracle.adf.controller.v2.lifecycle.ADFLifecycle
              extended by oracle.adfinternal.controller.lifecycle.LifecycleImpl
                  extended by 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

Nested Class Summary
 
Nested classes/interfaces inherited from class oracle.adf.controller.v2.lifecycle.Lifecycle
Lifecycle.Phase
 
Field Summary
 
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 oracle.adf.controller.v2.lifecycle.ADFLifecycle
setInstance
 
Methods inherited from class oracle.adf.controller.v2.lifecycle.Lifecycle
getPhaseName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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

Oracle Fusion Middleware Java API Reference for Oracle ADF Lifecycle
11g Release 1 (11.1.1.6.0)

E10652-07

Copyright © 1997, 2011, Oracle. All rights reserved.