Oracle Application Development Framework Lifecycle Java API Reference 10g Release 3 (10.1.3) B25779-01


oracle.adf.controller.v2.lifecycle
Class LifecycleProcessor

java.lang.Object
  extended byoracle.adf.controller.v2.lifecycle.Lifecycle
      extended byoracle.adf.controller.v2.lifecycle.LifecycleProcessor


public class LifecycleProcessor
extends Lifecycle

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 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, listeners, METADATA_COMMIT, 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

 

Constructor Summary
LifecycleProcessor()
           

 

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.adf.controller.v2.lifecycle.Lifecycle
addPagePhaseListener, executePhase, getPagePhaseListeners, removePagePhaseListener

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

LifecycleProcessor

public LifecycleProcessor()

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 Application Development Framework Lifecycle Java API Reference 10g Release 3 (10.1.3) B25779-01


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