|
Expresso 5-6 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.struts.tiles.TilesPlugin
com.jcorporate.expresso.core.controller.ExpressoPlugin
Title: Expresso Project Description: Copyright: Copyright (c) 2001, 2002, 2003 Company: Jcorporate
| Field Summary | |
protected static org.apache.commons.logging.Log |
log
Commons Logging instance. |
| Fields inherited from class org.apache.struts.tiles.TilesPlugin |
currentPlugInConfigObject, definitionFactory, moduleAware, tilesUtilImplClassname |
| Constructor Summary | |
ExpressoPlugin()
Default constructor |
|
| Method Summary | |
void |
destroy()
End plugin. |
void |
init(org.apache.struts.action.ActionServlet servlet,
org.apache.struts.config.ModuleConfig moduleConfig)
Receive notification that the specified module is being started up. |
void |
initModuleConfiguration(org.apache.struts.action.ActionServlet servlet,
org.apache.struts.config.ModuleConfig moduleConfig)
Save the module configuration in�the configuration manager |
protected void |
initRequestProcessorClass(org.apache.struts.config.ModuleConfig config)
Sets request processor to appropriate ExpressoRequestProcessor.
|
| Methods inherited from class org.apache.struts.tiles.TilesPlugin |
findStrutsPlugInConfigProperties, getTilesUtilImplClassname, isModuleAware, readFactoryConfig, setCurrentPlugInConfigObject, setModuleAware, setTilesUtilImplClassname |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected static org.apache.commons.logging.Log log
| Constructor Detail |
public ExpressoPlugin()
| Method Detail |
public void initModuleConfiguration(org.apache.struts.action.ActionServlet servlet,
org.apache.struts.config.ModuleConfig moduleConfig)
servlet - ActionServlet that is managing all the modules
in this web applicationmoduleConfig - ModuleConfig for the module with which
this plug in is associated
public void init(org.apache.struts.action.ActionServlet servlet,
org.apache.struts.config.ModuleConfig moduleConfig)
throws ServletException
Receive notification that the specified module is being started up.
servlet - ActionServlet that is managing all the modules
in this web applicationmoduleConfig - ModuleConfig for the module with which
this plug in is associated
ServletException - if this PlugIn cannot
be successfully initializedpublic void destroy()
protected void initRequestProcessorClass(org.apache.struts.config.ModuleConfig config)
throws ServletException
ExpressoRequestProcessor.
This method first checks if a requestprocessor is specified.
If yes, check if it extends appropriate
ExpressoRequestProcessor class. If no, set processor class to
ExpressoRequestProcessor
This method is a stock copy of the code that exists in
TilesPlugin except that we are replacing the
TilesRequestProcessor with
ExpressoRequestProcessor
config - ModuleConfig for the module with which
this plug in is associated
ServletException - If an error occurTilesPlugin,
TilesRequestProcessor
|
Expresso 5-6 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||