oracle.adf.controller.struts.actions
Class PageLifecycleFactoryPlugin
java.lang.Object
oracle.adf.controller.struts.actions.PageLifecycleFactoryPlugin
- All Implemented Interfaces:
- org.apache.struts.action.PlugIn
- public class PageLifecycleFactoryPlugin
- extends java.lang.Object
- implements org.apache.struts.action.PlugIn
PlugIn used to define an alternate StrutsPageLifecycleFactory
.
This class name should be used in the struts-config file to define a plug-in element. The property "lifecycleFactory" should be used to define the class name of the custom factory:
<plug-in classname="oracle.adf.controller.struts.actions.PageLifecycleFactoryPlugin">
<set-property property="lifecycleFactory" value="view.myStrutsLifecycleFactory"/>
</plug-in>
- Since:
- 9.0.5
Field Summary |
protected org.apache.struts.config.PlugInConfig |
currentPlugInConfigObject
The plugin config object provided by the ActionServlet initializing this plugin. |
static java.lang.String |
LIFECYCLEFACTORY_PROPERTY
Name of the property used to defined a customized StrutsPageLifecycleFactory. |
Method Summary |
void |
destroy()
|
void |
init(org.apache.struts.action.ActionServlet servlet, org.apache.struts.config.ModuleConfig config)
|
void |
setCurrentPlugInConfigObject(org.apache.struts.config.PlugInConfig plugInConfigObject)
Method used by the ActionServlet initializing this plugin. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LIFECYCLEFACTORY_PROPERTY
public static final java.lang.String LIFECYCLEFACTORY_PROPERTY
- Name of the property used to defined a customized StrutsPageLifecycleFactory. The value of this property is the fully qualified class name of the new factory.
- See Also:
- Constant Field Values
currentPlugInConfigObject
protected org.apache.struts.config.PlugInConfig currentPlugInConfigObject
- The plugin config object provided by the ActionServlet initializing this plugin.
PageLifecycleFactoryPlugin
public PageLifecycleFactoryPlugin()
destroy
public void destroy()
-
- Specified by:
destroy
in interface org.apache.struts.action.PlugIn
init
public void init(org.apache.struts.action.ActionServlet servlet,
org.apache.struts.config.ModuleConfig config)
throws javax.servlet.ServletException
-
- Specified by:
init
in interface org.apache.struts.action.PlugIn
-
- Throws:
javax.servlet.ServletException
setCurrentPlugInConfigObject
public void setCurrentPlugInConfigObject(org.apache.struts.config.PlugInConfig plugInConfigObject)
- Method used by the ActionServlet initializing this plugin. Set the plugin config object read from module config.
-
- Parameters:
plugInConfigObject
- PlugInConfig.
Copyright © 1997, 2004, Oracle. All rights reserved.