📄 moduleconfigverifier.html
字号:
<TD><B>Methods inherited from class java.lang.Object</B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><clinit>, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
<P>
<!-- ============ FIELD DETAIL =========== -->
<A NAME="field_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Field Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="config"><!-- --></A><H3>
config</H3>
<PRE>
protected <A HREF="../../../../org/apache/struts/config/ModuleConfig.html">ModuleConfig</A> <B>config</B></PRE>
<DL>
<DD><p>The <A HREF="../../../../org/apache/struts/config/ModuleConfig.html"><CODE>ModuleConfig</CODE></A> instance for our module.</p></DL>
<HR>
<A NAME="servlet"><!-- --></A><H3>
servlet</H3>
<PRE>
protected <A HREF="../../../../org/apache/struts/action/ActionServlet.html">ActionServlet</A> <B>servlet</B></PRE>
<DL>
<DD><p>The <A HREF="../../../../org/apache/struts/action/ActionServlet.html"><CODE>ActionServlet</CODE></A> instance we are associated with.</p></DL>
<HR>
<A NAME="fatal"><!-- --></A><H3>
fatal</H3>
<PRE>
private boolean <B>fatal</B></PRE>
<DL>
<DD><p>Should the existence of configuration errors be fatal.</p></DL>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="ModuleConfigVerifier()"><!-- --></A><H3>
ModuleConfigVerifier</H3>
<PRE>
public <B>ModuleConfigVerifier</B>()</PRE>
<DL>
</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="isFatal()"><!-- --></A><H3>
isFatal</H3>
<PRE>
public boolean <B>isFatal</B>()</PRE>
<DL>
<DD><p>Return the "configuation errors are fatal" flag.</p><DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="setFatal(boolean)"><!-- --></A><H3>
setFatal</H3>
<PRE>
public void <B>setFatal</B>(boolean fatal)</PRE>
<DL>
<DD><p>Set the "configuration errors are fatal" flag.</p><DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>fatal</CODE> - The new flag value</DL>
</DD>
</DL>
<HR>
<A NAME="destroy()"><!-- --></A><H3>
destroy</H3>
<PRE>
public void <B>destroy</B>()</PRE>
<DL>
<DD><p>Receive notification that our owning module is being shut down.</p><DD><DL>
<DT><B>Specified by: </B><DD><CODE><A HREF="../../../../org/apache/struts/action/PlugIn.html#destroy()">destroy</A></CODE> in interface <CODE><A HREF="../../../../org/apache/struts/action/PlugIn.html">PlugIn</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="init(org.apache.struts.action.ActionServlet, org.apache.struts.config.ModuleConfig)"><!-- --></A><H3>
init</H3>
<PRE>
public void <B>init</B>(<A HREF="../../../../org/apache/struts/action/ActionServlet.html">ActionServlet</A> servlet, <A HREF="../../../../org/apache/struts/config/ModuleConfig.html">ModuleConfig</A> config) throws javax.servlet.ServletException</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/struts/action/PlugIn.html">PlugIn</A></CODE></B></DD>
<DD><p>Receive notification that the specified module is being started up.</p><DD><DL>
<DT><B>Specified by: </B><DD><CODE><A HREF="../../../../org/apache/struts/action/PlugIn.html#init(org.apache.struts.action.ActionServlet, org.apache.struts.config.ModuleConfig)">init</A></CODE> in interface <CODE><A HREF="../../../../org/apache/struts/action/PlugIn.html">PlugIn</A></CODE></DL>
</DD>
<DD>Following copied from interface: <CODE>org.apache.struts.action.PlugIn</CODE></DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>servlet</CODE> - ActionServlet that is managing all the modules in this web application<DD><CODE>config</CODE> - ModuleConfig for the module with which this plug-in is associated<DT><B>Throws:</B><DD><CODE>javax.servlet.ServletException</CODE> - if this <code>PlugIn</code> cannot be successfully initialized</DL>
</DD>
</DL>
<HR>
<A NAME="log(java.lang.String)"><!-- --></A><H3>
log</H3>
<PRE>
protected void <B>log</B>(java.lang.String message)</PRE>
<DL>
<DD><p>Log the specified message to our servlet context log, after a header including the module prefix.</p><DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>message</CODE> - The message to be logged</DL>
</DD>
</DL>
<HR>
<A NAME="verifyActionMappingClass()"><!-- --></A><H3>
verifyActionMappingClass</H3>
<PRE>
protected boolean <B>verifyActionMappingClass</B>()</PRE>
<DL>
<DD><p>Return <code>true</code> if information returned by <code>config.getActionMappingClass</code> is all valid; otherwise, log error messages and return <code>false</code>.</p><DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="verifyForwardConfigs()"><!-- --></A><H3>
verifyForwardConfigs</H3>
<PRE>
protected boolean <B>verifyForwardConfigs</B>()</PRE>
<DL>
<DD><p>Return <code>true</code> if information returned by <code>config.findForwardConfigs</code> is all valid; otherwise, log error messages and return <code>false</code>.</p><DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="verifyMessageResourcesConfigs()"><!-- --></A><H3>
verifyMessageResourcesConfigs</H3>
<PRE>
protected boolean <B>verifyMessageResourcesConfigs</B>()</PRE>
<DL>
<DD><p>Return <code>true</code> if information returned by <code>config.findMessageResourcesConfigs</code> is all valid; otherwise, log error messages and return <code>false</code>.</p><DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="verifyPlugInConfigs()"><!-- --></A><H3>
verifyPlugInConfigs</H3>
<PRE>
protected boolean <B>verifyPlugInConfigs</B>()</PRE>
<DL>
<DD><p>Return <code>true</code> if information returned by <code>config.findPluginConfigs</code> is all valid; otherwise, log error messages and return <code>false</code>.</p><DD><DL>
</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/ModuleConfigVerifier.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/plugins/DigestingPlugIn.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="ModuleConfigVerifier.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: INNER | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <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 + -