| com.jcorporate.expresso.core.controller.ExpressoPlugin
ExpressoPlugin | public class ExpressoPlugin extends TilesPlugin (Code) | | Title: Expresso Project
Description:
Copyright: Copyright (c) 2001, 2002, 2003
Company: Jcorporate
author: Peter Pilgrim Wed Feb 12 19:39:44 GMT 2003 author: author: A Plug-in to set up the Struts support for Expresso Framework. author: This plugin conveniently extends the Tiles plug-in so that author: Tiles definition can be used from the get-go. author: author: author: Design notes by Peter Pilgrim Wed Feb 12 19:35:28 GMT 2003 author: |
Field Summary | |
protected static Log | log Commons Logging instance. |
Method Summary | |
public void | destroy() End plugin. | public void | init(ActionServlet servlet, ModuleConfig moduleConfig) | public void | initModuleConfiguration(ActionServlet servlet, ModuleConfig moduleConfig) | protected void | initRequestProcessorClass(ModuleConfig config) Sets request processor to appropriate ExpressoRequestProcessor .
This method first checks if a requestprocessor is specified.
If yes, check if it extends appropriate
ExpressoRequestProcessor class. |
log | protected static Log log(Code) | | Commons Logging instance.
|
ExpressoPlugin | public ExpressoPlugin()(Code) | | Default constructor
|
destroy | public void destroy()(Code) | | End plugin.
|
init | public void init(ActionServlet servlet, ModuleConfig moduleConfig) throws ServletException(Code) | | Receive notification that the specified module is being
started up.
Parameters: servlet - ActionServlet that is managing all the modulesin this web application Parameters: moduleConfig - ModuleConfig for the module with whichthis plug in is associated throws: ServletException - if this PlugIn cannotbe successfully initialized |
initModuleConfiguration | public void initModuleConfiguration(ActionServlet servlet, ModuleConfig moduleConfig)(Code) | | Save the module configuration in the configuration manager
Parameters: servlet - ActionServlet that is managing all the modulesin this web application Parameters: moduleConfig - ModuleConfig for the module with whichthis plug in is associated |
initRequestProcessorClass | protected void initRequestProcessorClass(ModuleConfig config) throws ServletException(Code) | | Sets request processor to appropriate 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
Parameters: config - ModuleConfig for the module with whichthis plug in is associated throws: ServletException - If an error occur See Also: org.apache.struts.tiles.TilesPlugin See Also: org.apache.struts.tiles.TilesRequestProcessor |
|
|