Uses of Interface
org.apache.struts.config.ModuleConfig
Packages that use ModuleConfig
Package
Description
The action package is the core of the struts framework,
providing the "Controller" aspect of a MVC model.
Contains the new
ComposableRequestProcessor
which was introduced in Struts 1.3.Configurable commands that may be placed within the
request processor.
Commands which are particular to servlet processing.
This package provides objects that encapsulate access to
the request and session-scoped resources to service
command processing.
The "config" package contains configuration objects that correspond to
elements that may be specified in the
struts-config.xml
module configuration file.Provides default implementation classes for the
configuration objects.
The "struts-html" tag library
contains JSP custom tags useful in creating dynamic HTML user interfaces,
including input forms.
The Tiles taglib and framework allows building web pages by assembling reusable
pieces of pages, called Tiles.
The Tiles taglib and framework allows building web pages by assembling reusable
pieces of pages, called Tiles.
The upload package facilities to upload files using
multi-part requests.
The Utilities package provides a variety of families of classes,
to solve problems that are commonly encountered in building web applications.
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 ModuleConfigModifier and TypeFieldDescriptionprotected ModuleConfigRequestProcessor.moduleConfigTheModuleConfigurationwith which we are associated.Methods in org.apache.struts.action that return ModuleConfigModifier and TypeMethodDescriptionprotected ModuleConfigActionServlet.getModuleConfig(HttpServletRequest request) Return the module configuration object for the currently selected module.protected ModuleConfigActionServlet.initModuleConfig(String prefix, String paths) Initialize the module configuration information for the specified module.Methods in org.apache.struts.action with parameters of type ModuleConfigModifier and TypeMethodDescriptionprotected RequestProcessorActionServlet.getRequestProcessor(ModuleConfig config) Look up and return theRequestProcessorresponsible for the specified module, creating a new one if necessary.voidPlugIn.init(ActionServlet servlet, ModuleConfig config) Receive notification that the specified module is being started up.voidRequestProcessor.init(ActionServlet servlet, ModuleConfig moduleConfig) Initialize this request processor instance.protected voidActionServlet.initModuleActions(ModuleConfig config) Initialize the action configs for the specified module.protected voidActionServlet.initModuleExceptionConfigs(ModuleConfig config) Initialize the exception handlers for the specified module.protected voidActionServlet.initModuleFormBeans(ModuleConfig config) Initialize the form beans for the specified module.protected voidActionServlet.initModuleForwards(ModuleConfig config) Initialize the forwards for the specified module.protected voidActionServlet.initModuleMessageResources(ModuleConfig config) Initialize the applicationMessageResourcesfor the specified module.protected voidActionServlet.initModulePlugIns(ModuleConfig config) Initialize the plug ins for the specified module.protected ActionConfigActionServlet.processActionConfigClass(ActionConfig actionConfig, ModuleConfig moduleConfig) Checks if the current actionConfig is using the correct class based on the class of its ancestor ActionConfig.protected voidActionServlet.processActionConfigExtension(ActionConfig actionConfig, ModuleConfig moduleConfig) Extend the action's configuration as necessary.protected ExceptionConfigActionServlet.processExceptionConfigClass(ExceptionConfig exceptionConfig, ModuleConfig moduleConfig, ActionConfig actionConfig) Checks if the current exceptionConfig is using the correct class based on the class of its configuration ancestor.protected voidActionServlet.processExceptionExtension(ExceptionConfig exceptionConfig, ModuleConfig moduleConfig, ActionConfig actionConfig) Extend the exception's configuration as necessary.protected FormBeanConfigActionServlet.processFormBeanConfigClass(FormBeanConfig beanConfig, ModuleConfig moduleConfig) Checks if the current beanConfig is using the correct class based on the class of its ancestor form bean config.protected voidActionServlet.processFormBeanExtension(FormBeanConfig beanConfig, ModuleConfig moduleConfig) Extend the form bean's configuration as necessary.protected ForwardConfigActionServlet.processForwardConfigClass(ForwardConfig forwardConfig, ModuleConfig moduleConfig, ActionConfig actionConfig) Checks if the current forwardConfig is using the correct class based on the class of its configuration ancestor.protected voidActionServlet.processForwardExtension(ForwardConfig forwardConfig, ModuleConfig moduleConfig, ActionConfig actionConfig) Extend the forward's configuration as necessary. -
Uses of ModuleConfig in org.apache.struts.chain
Methods in org.apache.struts.chain with parameters of type ModuleConfigModifier and TypeMethodDescriptionvoidComposableRequestProcessor.init(ActionServlet servlet, ModuleConfig moduleConfig) Initialize this request processor instance.protected voidComposableRequestProcessor.initCatalogFactory(ActionServlet servlet, ModuleConfig moduleConfig) Establish the CatalogFactory which will be used to look up the catalog which has the request processing command. -
Uses of ModuleConfig in org.apache.struts.chain.commands
Methods in org.apache.struts.chain.commands with parameters of type ModuleConfigModifier and TypeMethodDescriptionprotected abstract ForwardConfigAbstractSelectForward.forward(ActionContext context, ModuleConfig moduleConfig, String uri) Create and return aForwardConfigrepresenting the specified module-relative destination.protected abstract ForwardConfigAbstractSelectInput.forward(ActionContext context, ModuleConfig moduleConfig, String uri) Create and return aForwardConfigrepresenting the specified module-relative destination.protected abstract ForwardConfigAbstractExceptionHandler.handle(ActionContext context, Exception exception, ExceptionConfig exceptionConfig, ActionConfig actionConfig, ModuleConfig moduleConfig) Perform the required handling of the specified exception.protected ForwardConfigAbstractSelectInput.inputForward(ActionConfig actionConfig, ModuleConfig moduleConfig, String input) Attempts to resolve the input as aForwardConfigattribute. -
Uses of ModuleConfig in org.apache.struts.chain.commands.servlet
Methods in org.apache.struts.chain.commands.servlet with parameters of type ModuleConfigModifier and TypeMethodDescriptionprotected ForwardConfigSelectForward.forward(ActionContext context, ModuleConfig moduleConfig, String uri) Create and return aForwardConfigrepresenting the specified module-relative destination.protected ForwardConfigSelectInput.forward(ActionContext context, ModuleConfig moduleConfig, String uri) Create and return aForwardConfigrepresenting the specified module-relative destination.protected ForwardConfigExceptionHandler.handle(ActionContext context, Exception exception, ExceptionConfig exceptionConfig, ActionConfig actionConfig, ModuleConfig moduleConfig) -
Uses of ModuleConfig in org.apache.struts.chain.contexts
Methods in org.apache.struts.chain.contexts that return ModuleConfigModifier and TypeMethodDescriptionActionContext.getModuleConfig()Get the ModuleConfig which is operative for the current request.ActionContextBase.getModuleConfig()WebActionContext.getModuleConfig()Methods in org.apache.struts.chain.contexts with parameters of type ModuleConfigModifier and TypeMethodDescriptionActionContextBase.findOrCreateActionForm(String formName, String scopeName, ModuleConfig moduleConfig) In the context of the givenModuleConfigand thisActionContext, look for an existingActionFormin the specified scope.voidActionContext.setModuleConfig(ModuleConfig config) Set the ModuleConfig which is operative for the current request.voidActionContextBase.setModuleConfig(ModuleConfig config) voidWebActionContext.setModuleConfig(ModuleConfig moduleConfig) -
Uses of ModuleConfig in org.apache.struts.config
Fields in org.apache.struts.config declared as ModuleConfigModifier and TypeFieldDescriptionprotected ModuleConfigActionConfig.moduleConfigThe module configuration with which we are associated.Methods in org.apache.struts.config that return ModuleConfigModifier and TypeMethodDescriptionabstract ModuleConfigModuleConfigFactory.createModuleConfig(String prefix) Create and return a newly instansiatedModuleConfig.ActionConfig.getModuleConfig()The module configuration with which we are associated.Methods in org.apache.struts.config with parameters of type ModuleConfigModifier and TypeMethodDescriptionprotected booleanActionConfig.checkCircularInheritance(ModuleConfig moduleConfig) Traces the hierarchy of this object to check if any of the ancestors is extending this instance.protected booleanExceptionConfig.checkCircularInheritance(ModuleConfig moduleConfig, ActionConfig actionConfig) Traces the hierarchy of this object to check if any of the ancestors are extending this instance.protected booleanFormBeanConfig.checkCircularInheritance(ModuleConfig moduleConfig) Traces the hierarchy of this object to check if any of the ancestors is extending this instance.protected booleanForwardConfig.checkCircularInheritance(ModuleConfig moduleConfig, ActionConfig actionConfig) Traces the hierarchy of this object to check if any of the ancestors are extending this instance.voidModuleConfigPostProcessor.postProcessAfterInitialization(BaseConfig config, ModuleConfig moduleConfig) Applies this post-processor to the specified configuration object after it has been initialized by Struts but before it is frozen.voidModuleConfigPostProcessor.postProcessAfterInitialization(ModuleConfig moduleConfig) Modify the specified module after its standard initialization.voidModuleConfigPostProcessor.postProcessBeforeInitialization(BaseConfig config, ModuleConfig moduleConfig) Applies this post-processor to the specified configuration object before it has been initialized and processed by Struts (such as heirarchy extensions).voidActionConfig.processExtends(ModuleConfig moduleConfig) Inherit configuration information from the ActionConfig that this instance is extending.voidExceptionConfig.processExtends(ModuleConfig moduleConfig, ActionConfig actionConfig) Inherit configuration information from the ExceptionConfig that this instance is extending.voidFormBeanConfig.processExtends(ModuleConfig moduleConfig) Inherit configuration information from the FormBeanConfig that this instance is extending.voidForwardConfig.processExtends(ModuleConfig moduleConfig, ActionConfig actionConfig) Inherit configuration information from the ForwardConfig that this instance is extending.voidActionConfig.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 ModuleConfigModifier and TypeClassDescriptionclassThe collection of static configuration information that describes a Struts-based module.Methods in org.apache.struts.config.impl that return ModuleConfigModifier and TypeMethodDescriptionDefaultModuleConfigFactory.createModuleConfig(String prefix) Create and return a newly instansiatedModuleConfig. -
Uses of ModuleConfig in org.apache.struts.extras.plugins
Fields in org.apache.struts.extras.plugins declared as ModuleConfigModifier and TypeFieldDescriptionprotected ModuleConfigModuleConfigVerifier.configTheModuleConfiginstance for our module.protected ModuleConfigDigestingPlugIn.moduleConfigMethods in org.apache.struts.extras.plugins with parameters of type ModuleConfigModifier and TypeMethodDescriptionvoidDigestingPlugIn.init(ActionServlet servlet, ModuleConfig config) Initialize aDigesterand use it to parse a configuration file, resulting in a root object which will be placed into the ServletContext.voidModuleConfigVerifier.init(ActionServlet servlet, ModuleConfig config) -
Uses of ModuleConfig in org.apache.struts.faces.application
Methods in org.apache.struts.faces.application with parameters of type ModuleConfigModifier and TypeMethodDescriptionprotected RequestProcessorActionListenerImpl.getRequestProcessor(ModuleConfig config, ServletContext context) Look up and return theRequestProcessorresponsible for the specified module, creating a new one if necessary. -
Uses of ModuleConfig in org.apache.struts.faces.util
Methods in org.apache.struts.faces.util that return ModuleConfigModifier and TypeMethodDescriptionStrutsContext.getModuleConfig()Return theModuleConfigfor the application module to which this request has been assigned (if any).static ModuleConfigStrutsContext.getModuleConfig(ExternalContext externalContext) Return theModuleConfigfor the application module to which this request has been assigned (if any).static ModuleConfigStrutsContext.getModuleConfig(FacesContext facesContext) Return theModuleConfigfor the application module to which this request has been assigned (if any). -
Uses of ModuleConfig in org.apache.struts.taglib
Methods in org.apache.struts.taglib that return ModuleConfigModifier and TypeMethodDescriptionTagUtils.getModuleConfig(PageContext pageContext) Return the default ModuleConfig object if it exists, null if otherwise.TagUtils.getModuleConfig(String module, PageContext pageContext) Return the specified ModuleConfig object for the given prefix if it exists, otherwise a NullPointerException will be thrown.Methods in org.apache.struts.taglib with parameters of type ModuleConfigModifier and TypeMethodDescriptionTagUtils.pageURL(HttpServletRequest request, String page, ModuleConfig moduleConfig) Return the context-relative URL that corresponds to the specifiedpageattribute value, calculated based on thepagePatternproperty of the current module'sModuleConfig. -
Uses of ModuleConfig in org.apache.struts.taglib.html
Fields in org.apache.struts.taglib.html declared as ModuleConfigModifier and TypeFieldDescriptionprotected ModuleConfigFormTag.moduleConfigThe module configuration for our module. -
Uses of ModuleConfig in org.apache.struts.tiles
Methods in org.apache.struts.tiles that return ModuleConfigModifier and TypeMethodDescriptionprotected ModuleConfigTilesUtilStrutsModulesImpl.getModuleConfig(HttpServletRequest request, ServletContext servletContext) Get the current ModuleConfig.Methods in org.apache.struts.tiles with parameters of type ModuleConfigModifier and TypeMethodDescriptionTilesPlugin.findStrutsPlugInConfigProperties(ActionServlet servlet, ModuleConfig config) Find original properties set in the Struts PlugInConfig object.TilesUtilStrutsImpl.getDefinitionsFactory(ServletContext servletContext, ModuleConfig moduleConfig) Get definition factory for the module attached to the specified moduleConfig.TilesUtilStrutsModulesImpl.getDefinitionsFactory(ServletContext servletContext, ModuleConfig moduleConfig) Get definition factory for the module attached to specified moduleConfig.protected RequestProcessorRedeployableActionServlet.getRequestProcessor(ModuleConfig config) voidTilesPlugin.init(ActionServlet servlet, ModuleConfig moduleConfig) Receive notification that the specified module is being started up.voidTilesRequestProcessor.init(ActionServlet servlet, ModuleConfig moduleConfig) Initialize this request processor instance.protected voidTilesPlugin.initRequestProcessorClass(ModuleConfig config) Set RequestProcessor to appropriate TilesRequestProcessor.protected DefinitionsFactoryConfigTilesPlugin.readFactoryConfig(ActionServlet servlet, ModuleConfig config) Create FactoryConfig and initialize it from web.xml and struts-config.xml. -
Uses of ModuleConfig in org.apache.struts.tiles2
Methods in org.apache.struts.tiles2 with parameters of type ModuleConfigModifier and TypeMethodDescriptionvoidTilesPlugin.init(ActionServlet servlet, ModuleConfig moduleConfig) Receive notification that the specified module is being started up.voidTilesRequestProcessor.init(ActionServlet servlet, ModuleConfig moduleConfig) Initialize this request processor instance.protected voidTilesPlugin.initRequestProcessorClass(ModuleConfig config) Set RequestProcessor to appropriate TilesRequestProcessor. -
Uses of ModuleConfig in org.apache.struts.upload
Methods in org.apache.struts.upload with parameters of type ModuleConfigModifier and TypeMethodDescriptionprotected longCommonsMultipartRequestHandler.getFileCountMax(ModuleConfig mc) Returns the maximum permitted number of files that may be uploaded in a single request.protected longCommonsMultipartRequestHandler.getFileSizeMax(ModuleConfig mc) Returns the maximum allowable file-size, in bytes, of an uploaded file.protected longCommonsMultipartRequestHandler.getMaxStringLen(ModuleConfig mc) Returns the maximum allowable length, in bytes, of a string parameter in a multipart request.protected FileCommonsMultipartRequestHandler.getRepositoryFile(ModuleConfig mc) Returns the path to the temporary directory to be used for uploaded files which are written to disk.protected longCommonsMultipartRequestHandler.getSizeMax(ModuleConfig mc) Returns the maximum allowed size of a complete request.protected longCommonsMultipartRequestHandler.getSizeThreshold(ModuleConfig mc) Returns the size threshold which determines whether an uploaded file will be written to disk or cached in memory. -
Uses of ModuleConfig in org.apache.struts.util
Methods in org.apache.struts.util that return ModuleConfigModifier and TypeMethodDescriptionModuleUtils.getModuleConfig(HttpServletRequest request) Return the current ModuleConfig object stored in request, if it exists, null otherwise.ModuleUtils.getModuleConfig(HttpServletRequest request, ServletContext context) Return the ModuleConfig object is it exists, null otherwise.ModuleUtils.getModuleConfig(String prefix, HttpServletRequest request, ServletContext context) Return the desired ModuleConfig object stored in context, if it exists, otherwise return the current ModuleConfigModuleUtils.getModuleConfig(String prefix, ServletContext context) Return the desired ModuleConfig object stored in context, if it exists, null otherwise.Methods in org.apache.struts.util with parameters of type ModuleConfigModifier and TypeMethodDescriptionstatic StringRequestUtils.actionIdURL(String originalPath, ModuleConfig moduleConfig, ActionServlet servlet) Returns the true path of the destination action if the specified forward is an action-aliased URL.static ActionFormRequestUtils.createActionForm(HttpServletRequest request, ActionMapping mapping, ModuleConfig moduleConfig, ActionServlet servlet) Create (if necessary) and return anActionForminstance appropriate for this request.static StringRequestUtils.forwardURL(HttpServletRequest request, ForwardConfig forward, ModuleConfig moduleConfig) Return the context-relative URL that corresponds to the specifiedForwardConfig. -
Uses of ModuleConfig in org.apache.struts.validator
Methods in org.apache.struts.validator with parameters of type ModuleConfigModifier and TypeMethodDescriptionvoidValidatorPlugIn.init(ActionServlet servlet, ModuleConfig config) Initialize and load our resources.