⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 moduleconfigimpl.html

📁 struts api,学习使用struts必备的文档
💻 HTML
📖 第 1 页 / 共 5 页
字号:
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>config</CODE> - The new configuration instance to be added<DT><B>Throws:</B><DD><CODE>java.lang.IllegalStateException</CODE> - if this module configuration  has been frozen</DL>
</DD>
</DL>
<HR>

<A NAME="addMessageResourcesConfig(org.apache.struts.config.MessageResourcesConfig)"><!-- --></A><H3>
addMessageResourcesConfig</H3>
<PRE>
public void <B>addMessageResourcesConfig</B>(<A HREF="../../../../../org/apache/struts/config/MessageResourcesConfig.html">MessageResourcesConfig</A>&nbsp;config)</PRE>
<DL>
<DD>Add a new <code>MessageResourcesConfig</code> instance to the set associated with this module.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A HREF="../../../../../org/apache/struts/config/ModuleConfig.html#addMessageResourcesConfig(org.apache.struts.config.MessageResourcesConfig)">addMessageResourcesConfig</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/struts/config/ModuleConfig.html">ModuleConfig</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>config</CODE> - The new configuration instance to be added<DT><B>Throws:</B><DD><CODE>java.lang.IllegalStateException</CODE> - if this module configuration  has been frozen</DL>
</DD>
</DL>
<HR>

<A NAME="addPlugInConfig(org.apache.struts.config.PlugInConfig)"><!-- --></A><H3>
addPlugInConfig</H3>
<PRE>
public void <B>addPlugInConfig</B>(<A HREF="../../../../../org/apache/struts/config/PlugInConfig.html">PlugInConfig</A>&nbsp;plugInConfig)</PRE>
<DL>
<DD>Add a newly configured <A HREF="../../../../../org/apache/struts/config/PlugInConfig.html"><CODE>PlugInConfig</CODE></A> instance to the set of plug-in Actions for this module.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A HREF="../../../../../org/apache/struts/config/ModuleConfig.html#addPlugInConfig(org.apache.struts.config.PlugInConfig)">addPlugInConfig</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/struts/config/ModuleConfig.html">ModuleConfig</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>plugInConfig</CODE> - The new configuration instance to be added</DL>
</DD>
</DL>
<HR>

<A NAME="findActionConfig(java.lang.String)"><!-- --></A><H3>
findActionConfig</H3>
<PRE>
public <A HREF="../../../../../org/apache/struts/config/ActionConfig.html">ActionConfig</A> <B>findActionConfig</B>(java.lang.String&nbsp;path)</PRE>
<DL>
<DD>Return the action configuration for the specified path, first looking a direct match, then if none found, a wildcard pattern match; otherwise return <code>null</code>.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A HREF="../../../../../org/apache/struts/config/ModuleConfig.html#findActionConfig(java.lang.String)">findActionConfig</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/struts/config/ModuleConfig.html">ModuleConfig</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>path</CODE> - Path of the action configuration to return</DL>
</DD>
</DL>
<HR>

<A NAME="findActionConfigs()"><!-- --></A><H3>
findActionConfigs</H3>
<PRE>
public <A HREF="../../../../../org/apache/struts/config/ActionConfig.html">ActionConfig</A>[] <B>findActionConfigs</B>()</PRE>
<DL>
<DD>Return the action configurations for this module.  If there are none, a zero-length array is returned.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A HREF="../../../../../org/apache/struts/config/ModuleConfig.html#findActionConfigs()">findActionConfigs</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/struts/config/ModuleConfig.html">ModuleConfig</A></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="findDataSourceConfig(java.lang.String)"><!-- --></A><H3>
findDataSourceConfig</H3>
<PRE>
public <A HREF="../../../../../org/apache/struts/config/DataSourceConfig.html">DataSourceConfig</A> <B>findDataSourceConfig</B>(java.lang.String&nbsp;key)</PRE>
<DL>
<DD>Return the data source configuration for the specified key, if any; otherwise return <code>null</code>.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A HREF="../../../../../org/apache/struts/config/ModuleConfig.html#findDataSourceConfig(java.lang.String)">findDataSourceConfig</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/struts/config/ModuleConfig.html">ModuleConfig</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>key</CODE> - Key of the data source configuration to return</DL>
</DD>
</DL>
<HR>

<A NAME="findDataSourceConfigs()"><!-- --></A><H3>
findDataSourceConfigs</H3>
<PRE>
public <A HREF="../../../../../org/apache/struts/config/DataSourceConfig.html">DataSourceConfig</A>[] <B>findDataSourceConfigs</B>()</PRE>
<DL>
<DD>Return the data source configurations for this module.  If there are none, a zero-length array is returned.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A HREF="../../../../../org/apache/struts/config/ModuleConfig.html#findDataSourceConfigs()">findDataSourceConfigs</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/struts/config/ModuleConfig.html">ModuleConfig</A></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="findExceptionConfig(java.lang.String)"><!-- --></A><H3>
findExceptionConfig</H3>
<PRE>
public <A HREF="../../../../../org/apache/struts/config/ExceptionConfig.html">ExceptionConfig</A> <B>findExceptionConfig</B>(java.lang.String&nbsp;type)</PRE>
<DL>
<DD>Return the exception configuration for the specified type, if any; otherwise return <code>null</code>.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A HREF="../../../../../org/apache/struts/config/ModuleConfig.html#findExceptionConfig(java.lang.String)">findExceptionConfig</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/struts/config/ModuleConfig.html">ModuleConfig</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>type</CODE> - Exception class name to find a configuration for</DL>
</DD>
</DL>
<HR>

<A NAME="findExceptionConfigs()"><!-- --></A><H3>
findExceptionConfigs</H3>
<PRE>
public <A HREF="../../../../../org/apache/struts/config/ExceptionConfig.html">ExceptionConfig</A>[] <B>findExceptionConfigs</B>()</PRE>
<DL>
<DD>Return the exception configurations for this module.  If there are none, a zero-length array is returned.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A HREF="../../../../../org/apache/struts/config/ModuleConfig.html#findExceptionConfigs()">findExceptionConfigs</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/struts/config/ModuleConfig.html">ModuleConfig</A></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="findFormBeanConfig(java.lang.String)"><!-- --></A><H3>
findFormBeanConfig</H3>
<PRE>
public <A HREF="../../../../../org/apache/struts/config/FormBeanConfig.html">FormBeanConfig</A> <B>findFormBeanConfig</B>(java.lang.String&nbsp;name)</PRE>
<DL>
<DD>Return the form bean configuration for the specified key, if any; otherwise return <code>null</code>.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A HREF="../../../../../org/apache/struts/config/ModuleConfig.html#findFormBeanConfig(java.lang.String)">findFormBeanConfig</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/struts/config/ModuleConfig.html">ModuleConfig</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - Name of the form bean configuration to return</DL>
</DD>
</DL>
<HR>

<A NAME="findFormBeanConfigs()"><!-- --></A><H3>
findFormBeanConfigs</H3>
<PRE>
public <A HREF="../../../../../org/apache/struts/config/FormBeanConfig.html">FormBeanConfig</A>[] <B>findFormBeanConfigs</B>()</PRE>
<DL>
<DD>Return the form bean configurations for this module.  If there are none, a zero-length array is returned.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A HREF="../../../../../org/apache/struts/config/ModuleConfig.html#findFormBeanConfigs()">findFormBeanConfigs</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/struts/config/ModuleConfig.html">ModuleConfig</A></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="findForwardConfig(java.lang.String)"><!-- --></A><H3>
findForwardConfig</H3>
<PRE>
public <A HREF="../../../../../org/apache/struts/config/ForwardConfig.html">ForwardConfig</A> <B>findForwardConfig</B>(java.lang.String&nbsp;name)</PRE>
<DL>
<DD>Return the forward configuration for the specified key, if any; otherwise return <code>null</code>.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A HREF="../../../../../org/apache/struts/config/ModuleConfig.html#findForwardConfig(java.lang.String)">findForwardConfig</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/struts/config/ModuleConfig.html">ModuleConfig</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - Name of the forward configuration to return</DL>
</DD>
</DL>
<HR>

<A NAME="findForwardConfigs()"><!-- --></A><H3>
findForwardConfigs</H3>
<PRE>
public <A HREF="../../../../../org/apache/struts/config/ForwardConfig.html">ForwardConfig</A>[] <B>findForwardConfigs</B>()</PRE>
<DL>
<DD>Return the form bean configurations for this module.  If there are none, a zero-length array is returned.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A HREF="../../../../../org/apache/struts/config/ModuleConfig.html#findForwardConfigs()">findForwardConfigs</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/struts/config/ModuleConfig.html">ModuleConfig</A></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="findMessageResourcesConfig(java.lang.String)"><!-- --></A><H3>
findMessageResourcesConfig</H3>
<PRE>
public <A HREF="../../../../../org/apache/struts/config/MessageResourcesConfig.html">MessageResourcesConfig</A> <B>findMessageResourcesConfig</B>(java.lang.String&nbsp;key)</PRE>
<DL>
<DD>Return the message resources configuration for the specified key, if any; otherwise return <code>null</code>.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A HREF="../../../../../org/apache/struts/config/ModuleConfig.html#findMessageResourcesConfig(java.lang.String)">findMessageResourcesConfig</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/struts/config/ModuleConfig.html">ModuleConfig</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>key</CODE> - Key of the data source configuration to return</DL>
</DD>
</DL>
<HR>

<A NAME="findMessageResourcesConfigs()"><!-- --></A><H3>
findMessageResourcesConfigs</H3>
<PRE>
public <A HREF="../../../../../org/apache/struts/config/MessageResourcesConfig.html">MessageResourcesConfig</A>[] <B>findMessageResourcesConfigs</B>()</PRE>
<DL>
<DD>Return the message resources configurations for this module. If there are none, a zero-length array is returned.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A HREF="../../../../../org/apache/struts/config/ModuleConfig.html#findMessageResourcesConfigs()">findMessageResourcesConfigs</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/struts/config/ModuleConfig.html">ModuleConfig</A></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="findPlugInConfigs()"><!-- --></A><H3>
findPlugInConfigs</H3>
<PRE>
public <A HREF="../../../../../org/apache/struts/config/PlugInConfig.html">PlugInConfig</A>[] <B>findPlugInConfigs</B>()</PRE>
<DL>
<DD>Return the configured plug-in actions for this module.  If there are none, a zero-length array is returned.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A HREF="../../../../../org/apache/struts/config/ModuleConfig.html#findPlugInConfigs()">findPlugInConfigs</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/struts/config/ModuleConfig.html">ModuleConfig</A></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="freeze()"><!-- --></A><H3>
freeze</H3>
<PRE>
public void <B>freeze</B>()</PRE>
<DL>
<DD>Freeze the configuration of this module.  After this method returns, any attempt to modify the configuration will return an IllegalStateException.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A HREF="../../../../../org/apache/struts/config/ModuleConfig.html#freeze()">freeze</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/struts/config/ModuleConfig.html">ModuleConfig</A></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="removeActionConfig(org.apache.struts.config.ActionConfig)"><!-- --></A><H3>
removeActionConfig</H3>
<PRE>
public void <B>removeActionConfig</B>(<A HREF="../../../../../org/apache/struts/config/ActionConfig.html">ActionConfig</A>&nbsp;config)</PRE>
<DL>
<DD>Remove the specified action configuration instance.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A HREF="../../../../../org/apache/struts/config/ModuleConfig.html#removeActionConfig(org.apache.struts.config.ActionConfig)">removeActionConfig</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/struts/config/ModuleConfig.html">ModuleConfig</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>config</CODE> - ActionConfig instance to be removed<DT><B>Throws:</B><DD><CODE>java.lang.IllegalStateException</CODE> - if this module configuration  has been frozen</DL>
</DD>
</DL>
<HR>

<A NAME="removeExceptionConfig(org.apache.struts.config.ExceptionConfig)"><!-- --></A><H3>
removeExceptionConfig</H3>
<PRE>
public void <B>removeExceptionConfig</B>(<A HREF="../../../../../org/apache/struts/config/ExceptionConfig.html">ExceptionConfig</A>&nbsp;config)</PRE>
<DL>
<DD>Remove the specified exception configuration instance.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A HREF="../../../../../org/apache/struts/config/ModuleConfig.html

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -