| java.lang.Object org.apache.struts.plugins.ModuleConfigVerifier
ModuleConfigVerifier | public class ModuleConfigVerifier implements PlugIn(Code) | | Convenient implementation of
PlugIn that performs as many
verification tests on the information stored in the
ModuleConfig for this module as is practical. Based on the setting of the
fatal property (which defaults to true ), the
detection of any such errors will cause a ServletException to
be thrown from the init method, which will ultimately cause
the initialization of your Struts controller servlet to fail.
version: $Rev: 471754 $ $Date: 2006-11-06 08:55:09 -0600 (Mon, 06 Nov 2006) $ since: Struts 1.1 |
destroy | public void destroy()(Code) | | Receive notification that our owning module is being shut down.
|
isFatal | public boolean isFatal()(Code) | | Return the "configuation errors are fatal" flag.
|
setFatal | public void setFatal(boolean fatal)(Code) | | Set the "configuration errors are fatal" flag.
Parameters: fatal - The new flag value |
verifyActionMappingClass | protected boolean verifyActionMappingClass()(Code) | | Return true if information returned by
config.getActionMappingClass is all valid; otherwise, log
error messages and return false .
|
verifyForwardConfigs | protected boolean verifyForwardConfigs()(Code) | | Return true if information returned by
config.findForwardConfigs is all valid; otherwise, log
error messages and return false .
|
verifyMessageResourcesConfigs | protected boolean verifyMessageResourcesConfigs()(Code) | | Return true if information returned by
config.findMessageResourcesConfigs is all valid;
otherwise, log error messages and return false .
|
verifyPlugInConfigs | protected boolean verifyPlugInConfigs()(Code) | | Return true if information returned by
config.findPluginConfigs is all valid; otherwise, log
error messages and return false .
|
|
|