📄 moduleconfig.html
字号:
</DL>
<HR>
<A NAME="addForwardConfig(org.apache.struts.config.ForwardConfig)"><!-- --></A><H3>
addForwardConfig</H3>
<PRE>
public void <B>addForwardConfig</B>(<A HREF="../../../../org/apache/struts/config/ForwardConfig.html">ForwardConfig</A> config)</PRE>
<DL>
<DD>Add a new <code>ForwardConfig</code> instance to the set of global forwards associated with this module.<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> config)</PRE>
<DL>
<DD>Add a new <code>MessageResourcesConfig</code> instance to the set associated with this module.<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> 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>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 path)</PRE>
<DL>
<DD>Return the action configuration for the specified path, if any; otherwise return <code>null</code>.<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.</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 key)</PRE>
<DL>
<DD>Return the data source configuration for the specified key, if any; otherwise return <code>null</code>.<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.</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 type)</PRE>
<DL>
<DD>Return the exception configuration for the specified type, if any; otherwise return <code>null</code>.<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.</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 name)</PRE>
<DL>
<DD>Return the form bean configuration for the specified key, if any; otherwise return <code>null</code>.<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.</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 name)</PRE>
<DL>
<DD>Return the forward configuration for the specified key, if any; otherwise return <code>null</code>.<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.</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 key)</PRE>
<DL>
<DD>Return the message resources configuration for the specified key, if any; otherwise return <code>null</code>.<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.</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.</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.</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> config)</PRE>
<DL>
<DD>Remove the specified action configuration instance.<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> config)</PRE>
<DL>
<DD>Remove the specified exception configuration instance.<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="removeDataSourceConfig(org.apache.struts.config.DataSourceConfig)"><!-- --></A><H3>
removeDataSourceConfig</H3>
<PRE>
public void <B>removeDataSourceConfig</B>(<A HREF="../../../../org/apache/struts/config/DataSourceConfig.html">DataSourceConfig</A> config)</PRE>
<DL>
<DD>Remove the specified data source configuration instance.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>config</CODE> - DataSourceConfig 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="removeFormBeanConfig(org.apache.struts.config.FormBeanConfig)"><!-- --></A><H3>
removeFormBeanConfig</H3>
<PRE>
public void <B>removeFormBeanConfig</B>(<A HREF="../../../../org/apache/struts/config/FormBeanConfig.html">FormBeanConfig</A> config)</PRE>
<DL>
<DD>Remove the specified form bean configuration instance.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>config</CODE> - FormBeanConfig 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="removeForwardConfig(org.apache.struts.config.ForwardConfig)"><!-- --></A><H3>
removeForwardConfig</H3>
<PRE>
public void <B>removeForwardConfig</B>(<A HREF="../../../../org/apache/struts/config/ForwardConfig.html">ForwardConfig</A> config)</PRE>
<DL>
<DD>Remove the specified forward configuration instance.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>config</CODE> - ForwardConfig 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="removeMessageResourcesConfig(org.apache.struts.config.MessageResourcesConfig)"><!-- --></A><H3>
removeMessageResourcesConfig</H3>
<PRE>
public void <B>removeMessageResourcesConfig</B>(<A HREF="../../../../org/apache/struts/config/MessageResourcesConfig.html">MessageResourcesConfig</A> config)</PRE>
<DL>
<DD>Remove the specified message resources configuration instance.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>config</CODE> - MessageResourcesConfig instance to be removed<DT><B>Throws:</B><DD><CODE>java.lang.IllegalStateException</CODE> - if this module configuration has been frozen</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/ModuleConfig.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../org/apache/struts/config/ConfigHelperInterface.html"><B>PREV CLASS</B></A>
NEXT CLASS</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="ModuleConfig.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: INNER | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
Copyright
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -