Apache Struts API Documentation: Uses of Interface org.apache.struts.config.ModuleConfig

Apache Struts API


Uses of Interface
org.apache.struts.config.ModuleConfig

Packages that use ModuleConfig
org.apache.struts.action The action package is the core of the struts framework, providing the "Controller" aspect of a MVC model. 
org.apache.struts.actions The actions package provides special adapters between the incoming HTTP request and the corresponding business logic. 
org.apache.struts.config The "config" package contains configuration objects that correspond to elements that may be specified in the struts-config.xml module configuration file. 
org.apache.struts.config.impl   
org.apache.struts.plugins   
org.apache.struts.taglib   
org.apache.struts.taglib.html The "struts-html" tag library contains JSP custom tags useful in creating dynamic HTML user interfaces, including input forms. 
org.apache.struts.tiles
The Tiles taglib and framework allows building web pages by assembling reusable pieces of pages, called Tiles. 
org.apache.struts.upload The upload package facilities to upload files using multi-part requests. 
org.apache.struts.util The Utilities package provides a variety of families of classes, to solve problems that are commonly encountered in building web applications. 
org.apache.struts.validator The validator package provides a series of classes to validate ActionForm type of input. 
 

Uses of ModuleConfig in org.apache.struts.action
 

Fields in org.apache.struts.action declared as ModuleConfig
protected  ModuleConfig RequestProcessor.moduleConfig
          The ModuleConfiguration with which we are associated.
 

Methods in org.apache.struts.action that return ModuleConfig
protected  ModuleConfig ActionServlet.getModuleConfig(javax.servlet.http.HttpServletRequest request)
          Return the module configuration object for the currently selected module.
protected  ModuleConfig ActionServlet.initModuleConfig(java.lang.String prefix, java.lang.String paths)
          Initialize the module configuration information for the specified module.
 

Methods in org.apache.struts.action with parameters of type ModuleConfig
 void RequestProcessor.init(ActionServlet servlet, ModuleConfig moduleConfig)
          Initialize this request processor instance.
 void PlugIn.init(ActionServlet servlet, ModuleConfig config)
          Receive notification that the specified module is being started up.
protected  RequestProcessor ActionServlet.getRequestProcessor(ModuleConfig config)
          Look up and return the RequestProcessor responsible for the specified module, creating a new one if necessary.
private  RequestProcessor ActionServlet.getProcessorForModule(ModuleConfig config)
          Returns the RequestProcessor for the given module or null if one does not exist.
protected  void ActionServlet.initModuleDataSources(ModuleConfig config)
          Initialize the data sources for the specified module.
protected  void ActionServlet.initModulePlugIns(ModuleConfig config)
          Initialize the plug ins for the specified module.
protected  void ActionServlet.initModuleMessageResources(ModuleConfig config)
          Initialize the application MessageResources for the specified module.
 

Uses of ModuleConfig in org.apache.struts.actions
 

Methods in org.apache.struts.actions with parameters of type ModuleConfig
protected  RequestProcessor RedeployableActionServlet.getRequestProcessor(ModuleConfig config)
           
 

Uses of ModuleConfig in org.apache.struts.config
 

Fields in org.apache.struts.config declared as ModuleConfig
protected  ModuleConfig ActionConfig.moduleConfig
          The module configuration with which we are associated.
 

Methods in org.apache.struts.config that return ModuleConfig
 ModuleConfig ActionConfig.getModuleConfig()
          The module configuration with which we are associated.
abstract  ModuleConfig ModuleConfigFactory.createModuleConfig(java.lang.String prefix)
          Create and return a newly instansiated ModuleConfig.
 

Methods in org.apache.struts.config with parameters of type ModuleConfig
 void ActionConfig.setModuleConfig(ModuleConfig moduleConfig)
          The module configuration with which we are associated.
 

Uses of ModuleConfig in org.apache.struts.config.impl
 

Classes in org.apache.struts.config.impl that implement ModuleConfig
 class ModuleConfigImpl
          The collection of static configuration information that describes a Struts-based module.
 

Methods in org.apache.struts.config.impl that return ModuleConfig
 ModuleConfig DefaultModuleConfigFactory.createModuleConfig(java.lang.String prefix)
          Create and return a newly instansiated ModuleConfig.
 

Uses of ModuleConfig in org.apache.struts.plugins
 

Fields in org.apache.struts.plugins declared as ModuleConfig
protected  ModuleConfig ModuleConfigVerifier.config
          The ModuleConfig instance for our module.
protected  ModuleConfig DigestingPlugIn.moduleConfig
           
 

Methods in org.apache.struts.plugins with parameters of type ModuleConfig
 void ModuleConfigVerifier.init(ActionServlet servlet, ModuleConfig config)
           
 void DigestingPlugIn.init(ActionServlet servlet, ModuleConfig config)
          Initialize a Digester and use it to parse a configuration file, resulting in a root object which will be placed into the ServletContext.
 

Uses of ModuleConfig in org.apache.struts.taglib
 

Methods in org.apache.struts.taglib that return ModuleConfig
 ModuleConfig TagUtils.getModuleConfig(javax.servlet.jsp.PageContext pageContext)
          Return the ModuleConfig object if it exists, null if otherwise.
 ModuleConfig TagUtils.getModuleConfig(java.lang.String module, javax.servlet.jsp.PageContext pageContext)
          Return the ModuleConfig object for the given prefix if it exists, null if otherwise.
 

Methods in org.apache.struts.taglib with parameters of type ModuleConfig
 java.lang.String TagUtils.pageURL(javax.servlet.http.HttpServletRequest request, java.lang.String page, ModuleConfig moduleConfig)
          Return the context-relative URL that corresponds to the specified page attribute value, calculated based on the pagePattern property of the current module's ModuleConfig.
 

Uses of ModuleConfig in org.apache.struts.taglib.html
 

Fields in org.apache.struts.taglib.html declared as ModuleConfig
protected  ModuleConfig FormTag.moduleConfig
          The module configuration for our module.
 

Methods in org.apache.struts.taglib.html with parameters of type ModuleConfig
private  boolean ImgTag.srcDefaultReference(ModuleConfig config)
          Convenience method to test whether this is the default module or if contestRelative has been set.
private  java.lang.String JavascriptValidatorTag.createDynamicJavascript(ModuleConfig config, org.apache.commons.validator.ValidatorResources resources, java.util.Locale locale, org.apache.commons.validator.Form form)
          Generates the dynamic JavaScript for the form.
private  boolean JavascriptValidatorTag.stopOnError(ModuleConfig config)
          Determines if validations should stop on an error.
 

Uses of ModuleConfig in org.apache.struts.tiles
 

Methods in org.apache.struts.tiles that return ModuleConfig
protected  ModuleConfig TilesUtilStrutsModulesImpl.getModuleConfig(javax.servlet.http.HttpServletRequest request, javax.servlet.ServletContext servletContext)
          Get the current ModuleConfig.
 

Methods in org.apache.struts.tiles with parameters of type ModuleConfig
 DefinitionsFactory TilesUtilStrutsImpl.getDefinitionsFactory(javax.servlet.ServletContext servletContext, ModuleConfig moduleConfig)
          Get definition factory for the module attached to the specified moduleConfig.
 DefinitionsFactory TilesUtilStrutsModulesImpl.getDefinitionsFactory(javax.servlet.ServletContext servletContext, ModuleConfig moduleConfig)
          Get definition factory for the module attached to specified moduleConfig.
 void TilesPlugin.init(ActionServlet servlet, ModuleConfig moduleConfig)
          Receive notification that the specified module is being started up.
private  void TilesPlugin.initDefinitionsFactory(javax.servlet.ServletContext servletContext, ModuleConfig moduleConfig, DefinitionsFactoryConfig factoryConfig)
          Initialize the DefinitionsFactory this module will use.
protected  DefinitionsFactoryConfig TilesPlugin.readFactoryConfig(ActionServlet servlet, ModuleConfig config)
          Create FactoryConfig and initialize it from web.xml and struts-config.xml.
protected  java.util.Map TilesPlugin.findStrutsPlugInConfigProperties(ActionServlet servlet, ModuleConfig config)
          Find original properties set in the Struts PlugInConfig object.
protected  void TilesPlugin.initRequestProcessorClass(ModuleConfig config)
          Set RequestProcessor to appropriate Tiles RequestProcessor.
 void TilesRequestProcessor.init(ActionServlet servlet, ModuleConfig moduleConfig)
          Initialize this request processor instance.
 

Uses of ModuleConfig in org.apache.struts.upload
 

Methods in org.apache.struts.upload with parameters of type ModuleConfig
protected  long CommonsMultipartRequestHandler.getSizeMax(ModuleConfig mc)
          Returns the maximum allowable size, in bytes, of an uploaded file.
protected  long CommonsMultipartRequestHandler.getSizeThreshold(ModuleConfig mc)
          Returns the size threshold which determines whether an uploaded file will be written to disk or cached in memory.
protected  java.lang.String CommonsMultipartRequestHandler.getRepositoryPath(ModuleConfig mc)
          Returns the path to the temporary directory to be used for uploaded files which are written to disk.
protected  void DiskMultipartRequestHandler.retrieveTempDir(ModuleConfig moduleConfig)
          Deprecated. Retrieves the temporary directory from either ActionServlet, a context property, or a system property, in that order.
 

Uses of ModuleConfig in org.apache.struts.util
 

Methods in org.apache.struts.util that return ModuleConfig
 ModuleConfig ModuleUtils.getModuleConfig(javax.servlet.http.HttpServletRequest request)
          Return the current ModuleConfig object stored in request, if it exists, null otherwise.
 ModuleConfig ModuleUtils.getModuleConfig(java.lang.String prefix, javax.servlet.ServletContext context)
          Return the desired ModuleConfig object stored in context, if it exists, null otherwise.
 ModuleConfig ModuleUtils.getModuleConfig(java.lang.String prefix, javax.servlet.http.HttpServletRequest request, javax.servlet.ServletContext context)
          Return the desired ModuleConfig object stored in context, if it exists, otherwise return the current ModuleConfig
 ModuleConfig ModuleUtils.getModuleConfig(javax.servlet.http.HttpServletRequest request, javax.servlet.ServletContext context)
          Return the ModuleConfig object is it exists, null otherwise.
static ModuleConfig RequestUtils.getRequestModuleConfig(javax.servlet.http.HttpServletRequest request)
          Deprecated. Use ModuleUtils.getModuleConfig(HttpServletRequest) instead. This will be removed after Struts 1.2.
static ModuleConfig RequestUtils.getModuleConfig(javax.servlet.http.HttpServletRequest request, javax.servlet.ServletContext context)
          Deprecated. Use ModuleUtils.getModuleConfig(HttpServletRequest,ServletContext) instead. This will be removed after Struts 1.2.
static ModuleConfig RequestUtils.getModuleConfig(javax.servlet.jsp.PageContext pageContext)
          Deprecated. Use TagUtils.getModuleConfig(PageContext) instead. This will be removed after Struts 1.2.
 

Methods in org.apache.struts.util with parameters of type ModuleConfig
static ActionForm RequestUtils.createActionForm(javax.servlet.http.HttpServletRequest request, ActionMapping mapping, ModuleConfig moduleConfig, ActionServlet servlet)
          Create (if necessary) and return an ActionForm instance appropriate for this request.
static java.lang.String RequestUtils.forwardURL(javax.servlet.http.HttpServletRequest request, ForwardConfig forward, ModuleConfig moduleConfig)
          Return the context-relative URL that corresponds to the specified ForwardConfig.
 

Uses of ModuleConfig in org.apache.struts.validator
 

Fields in org.apache.struts.validator declared as ModuleConfig
private  ModuleConfig ValidatorPlugIn.config
          The module configuration for our owning module.
 

Methods in org.apache.struts.validator with parameters of type ModuleConfig
 void ValidatorPlugIn.init(ActionServlet servlet, ModuleConfig config)
          Initialize and load our resources.
 



Copyright � 2000-2005 - The Apache Software Foundation