📄 moduleconfigimpl.html
字号:
public <B>ModuleConfigImpl</B>()</PRE>
<DL>
<DD>Constructor for ModuleConfigImpl. Assumes default configuration.<DD><DL>
<DT><B>Since: </B><DD>Struts 1.2.8</DD>
</DL>
</DD>
</DL>
<HR>
<A NAME="ModuleConfigImpl(java.lang.String)"><!-- --></A><H3>
ModuleConfigImpl</H3>
<PRE>
public <B>ModuleConfigImpl</B>(java.lang.String prefix)</PRE>
<DL>
<DD>Construct an ModuleConfigImpl object according to the specified parameter values.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>prefix</CODE> - Context-relative URI prefix for this module</DL>
</DD>
</DL>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="getConfigured()"><!-- --></A><H3>
getConfigured</H3>
<PRE>
public boolean <B>getConfigured</B>()</PRE>
<DL>
<DD>Has this module been completely configured yet. Once this flag has been set, 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#getConfigured()">getConfigured</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/struts/config/ModuleConfig.html">ModuleConfig</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="getControllerConfig()"><!-- --></A><H3>
getControllerConfig</H3>
<PRE>
public <A HREF="../../../../../org/apache/struts/config/ControllerConfig.html">ControllerConfig</A> <B>getControllerConfig</B>()</PRE>
<DL>
<DD>The controller configuration object for this module.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A HREF="../../../../../org/apache/struts/config/ModuleConfig.html#getControllerConfig()">getControllerConfig</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/struts/config/ModuleConfig.html">ModuleConfig</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="setControllerConfig(org.apache.struts.config.ControllerConfig)"><!-- --></A><H3>
setControllerConfig</H3>
<PRE>
public void <B>setControllerConfig</B>(<A HREF="../../../../../org/apache/struts/config/ControllerConfig.html">ControllerConfig</A> cc)</PRE>
<DL>
<DD>The controller configuration object for this module.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A HREF="../../../../../org/apache/struts/config/ModuleConfig.html#setControllerConfig(org.apache.struts.config.ControllerConfig)">setControllerConfig</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>cc</CODE> - The controller configuration object for this module.</DL>
</DD>
</DL>
<HR>
<A NAME="getPrefix()"><!-- --></A><H3>
getPrefix</H3>
<PRE>
public java.lang.String <B>getPrefix</B>()</PRE>
<DL>
<DD>The prefix of the context-relative portion of the request URI, used to select this configuration versus others supported by the controller servlet. A configuration with a prefix of a zero-length String is the default configuration for this web module.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A HREF="../../../../../org/apache/struts/config/ModuleConfig.html#getPrefix()">getPrefix</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/struts/config/ModuleConfig.html">ModuleConfig</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="setPrefix(java.lang.String)"><!-- --></A><H3>
setPrefix</H3>
<PRE>
public void <B>setPrefix</B>(java.lang.String prefix)</PRE>
<DL>
<DD>The prefix of the context-relative portion of the request URI, used to select this configuration versus others supported by the controller servlet. A configuration with a prefix of a zero-length String is the default configuration for this web module.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A HREF="../../../../../org/apache/struts/config/ModuleConfig.html#setPrefix(java.lang.String)">setPrefix</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/struts/config/ModuleConfig.html">ModuleConfig</A></CODE></DL>
</DD>
<DD>Following copied from interface: <CODE>org.apache.struts.config.ModuleConfig</CODE></DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>prefix</CODE> - The prefix of the context-relative portion of the request URI.</DL>
</DD>
</DL>
<HR>
<A NAME="getActionFormBeanClass()"><!-- --></A><H3>
getActionFormBeanClass</H3>
<PRE>
public java.lang.String <B>getActionFormBeanClass</B>()</PRE>
<DL>
<DD>The default class name to be used when creating action form bean instances.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A HREF="../../../../../org/apache/struts/config/ModuleConfig.html#getActionFormBeanClass()">getActionFormBeanClass</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/struts/config/ModuleConfig.html">ModuleConfig</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="setActionFormBeanClass(java.lang.String)"><!-- --></A><H3>
setActionFormBeanClass</H3>
<PRE>
public void <B>setActionFormBeanClass</B>(java.lang.String actionFormBeanClass)</PRE>
<DL>
<DD>The default class name to be used when creating action form bean instances.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A HREF="../../../../../org/apache/struts/config/ModuleConfig.html#setActionFormBeanClass(java.lang.String)">setActionFormBeanClass</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>actionFormBeanClass</CODE> - default class name to be used when creating action form bean instances.</DL>
</DD>
</DL>
<HR>
<A NAME="getActionMappingClass()"><!-- --></A><H3>
getActionMappingClass</H3>
<PRE>
public java.lang.String <B>getActionMappingClass</B>()</PRE>
<DL>
<DD>The default class name to be used when creating action mapping instances.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A HREF="../../../../../org/apache/struts/config/ModuleConfig.html#getActionMappingClass()">getActionMappingClass</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/struts/config/ModuleConfig.html">ModuleConfig</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="setActionMappingClass(java.lang.String)"><!-- --></A><H3>
setActionMappingClass</H3>
<PRE>
public void <B>setActionMappingClass</B>(java.lang.String actionMappingClass)</PRE>
<DL>
<DD>The default class name to be used when creating action mapping instances.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A HREF="../../../../../org/apache/struts/config/ModuleConfig.html#setActionMappingClass(java.lang.String)">setActionMappingClass</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>actionMappingClass</CODE> - default class name to be used when creating action mapping instances.</DL>
</DD>
</DL>
<HR>
<A NAME="addActionConfig(org.apache.struts.config.ActionConfig)"><!-- --></A><H3>
addActionConfig</H3>
<PRE>
public void <B>addActionConfig</B>(<A HREF="../../../../../org/apache/struts/config/ActionConfig.html">ActionConfig</A> config)</PRE>
<DL>
<DD>Add a new <code>ActionConfig</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#addActionConfig(org.apache.struts.config.ActionConfig)">addActionConfig</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="addDataSourceConfig(org.apache.struts.config.DataSourceConfig)"><!-- --></A><H3>
addDataSourceConfig</H3>
<PRE>
public void <B>addDataSourceConfig</B>(<A HREF="../../../../../org/apache/struts/config/DataSourceConfig.html">DataSourceConfig</A> config)</PRE>
<DL>
<DD>Add a new <code>DataSourceConfig</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#addDataSourceConfig(org.apache.struts.config.DataSourceConfig)">addDataSourceConfig</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="addExceptionConfig(org.apache.struts.config.ExceptionConfig)"><!-- --></A><H3>
addExceptionConfig</H3>
<PRE>
public void <B>addExceptionConfig</B>(<A HREF="../../../../../org/apache/struts/config/ExceptionConfig.html">ExceptionConfig</A> config)</PRE>
<DL>
<DD>Add a new <code>ExceptionConfig</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#addExceptionConfig(org.apache.struts.config.ExceptionConfig)">addExceptionConfig</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="addFormBeanConfig(org.apache.struts.config.FormBeanConfig)"><!-- --></A><H3>
addFormBeanConfig</H3>
<PRE>
public void <B>addFormBeanConfig</B>(<A HREF="../../../../../org/apache/struts/config/FormBeanConfig.html">FormBeanConfig</A> config)</PRE>
<DL>
<DD>Add a new <code>FormBeanConfig</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#addFormBeanConfig(org.apache.struts.config.FormBeanConfig)">addFormBeanConfig</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="getActionForwardClass()"><!-- --></A><H3>
getActionForwardClass</H3>
<PRE>
public java.lang.String <B>getActionForwardClass</B>()</PRE>
<DL>
<DD>The default class name to be used when creating action forward instances.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A HREF="../../../../../org/apache/struts/config/ModuleConfig.html#getActionForwardClass()">getActionForwardClass</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/struts/config/ModuleConfig.html">ModuleConfig</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="setActionForwardClass(java.lang.String)"><!-- --></A><H3>
setActionForwardClass</H3>
<PRE>
public void <B>setActionForwardClass</B>(java.lang.String actionForwardClass)</PRE>
<DL>
<DD>The default class name to be used when creating action forward instances.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A HREF="../../../../../org/apache/struts/config/ModuleConfig.html#setActionForwardClass(java.lang.String)">setActionForwardClass</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>actionForwardClass</CODE> - default class name to be used when creating action forward instances.</DL>
</DD>
</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>Specified by: </B><DD><CODE><A HREF="../../../../../org/apache/struts/config/ModuleConfig.html#addForwardConfig(org.apache.struts.config.ForwardConfig)">addForwardConfig</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/struts/config/ModuleConfig.html">ModuleConfig</A></CODE></DL>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -