|
Oracle Application Development Framework Controller Java API Reference
10g Release 3 (10.1.3) B16004-01 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
oracle.adf.controller.lifecycle.PageLifecycleFactory
A factory to create PageLifecycle instances.
Subclass PageLifecycleFactory to create your own PageLifecycleFactory and provide alternate PageLifecycle instance to all web page. Specify your PageLifecycleFactory subclass in the web-xml file using the ADFPageLifecycleFactory init param:
<web-app>
<context-param>
<param-name>ADFPageLifecycleFactory</param-name>
<param-value>mypackage.myLifecycleFactory</param-value>
</context-param>
...
</web-app>
If no alternate PageLifecycleFactory is defined in the web-xml, the default is to use DefaultPageLifecycleFactory.
| Field Summary | |
static java.lang.String |
INIT_PARAMName of the servlet context init parameter used to defined a customize PageLifecycleFactory. |
static java.lang.String |
LIFECYCLE_FACTORY_ATTRName of the servlet context attribute used to save the instance of the LifecycleFactory for this web application. |
| Constructor Summary | |
protected |
PageLifecycleFactory() |
| Method Summary | |
static PageLifecycleFactory |
getInstance(javax.servlet.ServletContext servletContext)Helper method to instanciate the factory given the ServletContext. |
abstract PageLifecycle |
getPageLifecycle(java.lang.String path)Return a PageLifecycle for given a page path. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String INIT_PARAM
public static final java.lang.String LIFECYCLE_FACTORY_ATTR
| Constructor Detail |
protected PageLifecycleFactory()
| Method Detail |
public static PageLifecycleFactory getInstance(javax.servlet.ServletContext servletContext)
servletContext -public abstract PageLifecycle getPageLifecycle(java.lang.String path)
path - the web page path
|
Oracle Application Development Framework Controller Java API Reference
10g Release 3 (10.1.3) B16004-01 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||