org.apache.beehive.netui.pageflow
Class PageFlowActionServlet.DefaultModuleConfigLocator

Object
  extended by PageFlowActionServlet.DefaultModuleConfigLocator
All Implemented Interfaces:
Serializable, AutoRegisterActionServlet.ModuleConfigLocator
Direct Known Subclasses:
PageFlowActionServlet.LegacyModuleConfigLocator
Enclosing class:
PageFlowActionServlet

public static class PageFlowActionServlet.DefaultModuleConfigLocator
extends Object
implements AutoRegisterActionServlet.ModuleConfigLocator, Serializable

Default ModuleConfigLocator that looks for Struts module configuration files according to the pattern "/WEB-INF/classes/_pageflow/struts-config-<module>". An instance of this class is registered by default.

See Also:
PageFlowActionServlet.getDefaultModuleConfigLocators(), Serialized Form

Constructor Summary
PageFlowActionServlet.DefaultModuleConfigLocator()
           
 
Method Summary
protected  String getGenDir()
           
 String getModuleConfigPath(String moduleName)
          Get the webapp-relative path to a Struts module config file, based on the module name.
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PageFlowActionServlet.DefaultModuleConfigLocator

public PageFlowActionServlet.DefaultModuleConfigLocator()
Method Detail

getModuleConfigPath

public String getModuleConfigPath(String moduleName)
Description copied from interface: AutoRegisterActionServlet.ModuleConfigLocator
Get the webapp-relative path to a Struts module config file, based on the module name.

Specified by:
getModuleConfigPath in interface AutoRegisterActionServlet.ModuleConfigLocator
Parameters:
moduleName - the name of the Struts module, e.g., "someModule" or "some/other/module".
Returns:
the webapp-relative path the the Struts module config file.

getGenDir

protected String getGenDir()