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


oracle.adf.controller.v2.lifecycle
Class PageLifecycle

java.lang.Object
  extended byoracle.adf.controller.v2.lifecycle.Phases
      extended byoracle.adf.controller.v2.lifecycle.PageLifecycle

Direct Known Subclasses:
PageController, PageLifecycleImpl

public abstract class PageLifecycle
extends Phases

The PageLifecycle class is the base class for any ADF Lifecycle. It defines a set of behavior that an ADF Lifecycle needs in addition to the Phases.

Since:
10.1.3

Field Summary
protected  java.lang.Class clazz
          The Class instance for this class (PageLifecycle).
protected  java.lang.Class[] eventParam
          The set of argument type classes for the reflected event method call.
protected  java.util.Map events
          Cache the set of event methods as they are introspected.

 

Constructor Summary
PageLifecycle()
           

 

Method Summary
protected abstract  void findForward(PageLifecycleContext context)
          The path of the next web page is identified using the forwardPath property on the PageLifecycleContext.
protected static java.lang.reflect.Method getEventMethodFromCache(java.util.Map events, java.lang.Class clazz, java.lang.Class[] eventParams, java.lang.String eventName)
          Internal Event methods are cached so that introspection is only done once.
 java.lang.Class getLifecycleContextClass()
          Returns the LifecycleContext class used by this PageLifecycle.

 

Methods inherited from class oracle.adf.controller.v2.lifecycle.Phases
applyInputValues, initContext, metadataCommit, prepareModel, prepareRender, processComponentEvents, processUpdateModel, validateInputValues, validateModelUpdates

 

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

 

Field Detail

events

protected java.util.Map events
Cache the set of event methods as they are introspected.

clazz

protected java.lang.Class clazz
The Class instance for this class (PageLifecycle).

eventParam

protected java.lang.Class[] eventParam
The set of argument type classes for the reflected event method call.

Constructor Detail

PageLifecycle

public PageLifecycle()

Method Detail

getLifecycleContextClass

public java.lang.Class getLifecycleContextClass()
Returns the LifecycleContext class used by this PageLifecycle. Any PageLifecycle subclass can have their own context by subclassing PageLifecycleContext.

findForward

protected abstract void findForward(PageLifecycleContext context)
                             throws java.lang.Exception
The path of the next web page is identified using the forwardPath property on the PageLifecycleContext. If the redirect property on the PageLifecycleContext is true, the response will be redirected to the specified path. Otherwise, the request will be forwarded to the specified path.
Throws:
java.lang.Exception

getEventMethodFromCache

protected static final java.lang.reflect.Method getEventMethodFromCache(java.util.Map events,
                                                                        java.lang.Class clazz,
                                                                        java.lang.Class[] eventParams,
                                                                        java.lang.String eventName)
Internal Event methods are cached so that introspection is only done once.

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


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