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

📄 auditmanagerimpl.html

📁 开源软件openfire的API文件。进行openfire的二次开发所必需的工具。
💻 HTML
📖 第 1 页 / 共 4 页
字号:
public void <B>setAuditIQ</B>(boolean&nbsp;auditIQ)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/jivesoftware/openfire/audit/AuditManager.html#setAuditIQ(boolean)">AuditManager</A></CODE></B></DD><DD>Enables or disables the server auditing of all iq packets. This is a speed optimization and convenience for logging all iq packets rather than using an XPath expression.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/jivesoftware/openfire/audit/AuditManager.html#setAuditIQ(boolean)">setAuditIQ</A></CODE> in interface <CODE><A HREF="../../../../../org/jivesoftware/openfire/audit/AuditManager.html" title="interface in org.jivesoftware.openfire.audit">AuditManager</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>auditIQ</CODE> - true if all iq are to be audited.</DL></DD></DL><HR><A NAME="isAuditXPath()"><!-- --></A><H3>isAuditXPath</H3><PRE>public boolean <B>isAuditXPath</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/jivesoftware/openfire/audit/AuditManager.html#isAuditXPath()">AuditManager</A></CODE></B></DD><DD>Determines if the server will audit packets using XPath expressions. XPath expressions provide a lot of power in specifying what is logged. However, it is much more compute intensive than other techniques and requires all packets be transformed into DOM objects (which can be computationally expensive).<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/jivesoftware/openfire/audit/AuditManager.html#isAuditXPath()">isAuditXPath</A></CODE> in interface <CODE><A HREF="../../../../../org/jivesoftware/openfire/audit/AuditManager.html" title="interface in org.jivesoftware.openfire.audit">AuditManager</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>true if XPath expressions should be audited.</DL></DD></DL><HR><A NAME="setAuditXPath(boolean)"><!-- --></A><H3>setAuditXPath</H3><PRE>public void <B>setAuditXPath</B>(boolean&nbsp;auditXPath)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/jivesoftware/openfire/audit/AuditManager.html#setAuditXPath(boolean)">AuditManager</A></CODE></B></DD><DD><p>Enables/disables server auditing of packets using XPath expressions.</p> <p>XPath expressions provide a lot of power in specifying what is logged. However, it is much more compute intensive than other techniques and requires all packets be transformed into DOM objects (which can be computationally expensive).</p><P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/jivesoftware/openfire/audit/AuditManager.html#setAuditXPath(boolean)">setAuditXPath</A></CODE> in interface <CODE><A HREF="../../../../../org/jivesoftware/openfire/audit/AuditManager.html" title="interface in org.jivesoftware.openfire.audit">AuditManager</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>auditXPath</CODE> - true if XPath expressions should be audited</DL></DD></DL><HR><A NAME="addXPath(java.lang.String)"><!-- --></A><H3>addXPath</H3><PRE>public void <B>addXPath</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;xpathExpression)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/jivesoftware/openfire/audit/AuditManager.html#addXPath(java.lang.String)">AuditManager</A></CODE></B></DD><DD>Adds an XPath expression to be used for filtering packets to be audited. XPath expressions aren't evaluated or used for filtering unless isAuditXPath() returns true.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/jivesoftware/openfire/audit/AuditManager.html#addXPath(java.lang.String)">addXPath</A></CODE> in interface <CODE><A HREF="../../../../../org/jivesoftware/openfire/audit/AuditManager.html" title="interface in org.jivesoftware.openfire.audit">AuditManager</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>xpathExpression</CODE> - the xpath expression to add to the list of auditing filters.</DL></DD></DL><HR><A NAME="removeXPath(java.lang.String)"><!-- --></A><H3>removeXPath</H3><PRE>public void <B>removeXPath</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;xpathExpression)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/jivesoftware/openfire/audit/AuditManager.html#removeXPath(java.lang.String)">AuditManager</A></CODE></B></DD><DD><p>Removes the XPath expression from the set being used for filtering packets to be audited.</p> <p>XPath expressions aren't evaluated or used for filtering unless isAuditXPath() returns true.</p><P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/jivesoftware/openfire/audit/AuditManager.html#removeXPath(java.lang.String)">removeXPath</A></CODE> in interface <CODE><A HREF="../../../../../org/jivesoftware/openfire/audit/AuditManager.html" title="interface in org.jivesoftware.openfire.audit">AuditManager</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>xpathExpression</CODE> - The xpath expression to remove from the list of auditing filters</DL></DD></DL><HR><A NAME="getXPathFilters()"><!-- --></A><H3>getXPathFilters</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Iterator.html" title="class or interface in java.util">Iterator</A> <B>getXPathFilters</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/jivesoftware/openfire/audit/AuditManager.html#getXPathFilters()">AuditManager</A></CODE></B></DD><DD><p>Obtain an iterator over the XPath expressions (Strings) currently registered with the audit manager.</p> <p>XPath expressions aren't evaluated or used for filtering unless isAuditXPath() returns true.</p><P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/jivesoftware/openfire/audit/AuditManager.html#getXPathFilters()">getXPathFilters</A></CODE> in interface <CODE><A HREF="../../../../../org/jivesoftware/openfire/audit/AuditManager.html" title="interface in org.jivesoftware.openfire.audit">AuditManager</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>An iterator of all XPath expressions the audit manager is using</DL></DD></DL><HR><A NAME="setIgnoreList(java.util.Collection)"><!-- --></A><H3>setIgnoreList</H3><PRE>public void <B>setIgnoreList</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Collection.html" title="class or interface in java.util">Collection</A>&lt;<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&gt;&nbsp;usernames)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/jivesoftware/openfire/audit/AuditManager.html#setIgnoreList(java.util.Collection)">AuditManager</A></CODE></B></DD><DD>Sets the list of usernames that won't be audited. Packets sent or received by any of these users will be ignored by the auditor.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/jivesoftware/openfire/audit/AuditManager.html#setIgnoreList(java.util.Collection)">setIgnoreList</A></CODE> in interface <CODE><A HREF="../../../../../org/jivesoftware/openfire/audit/AuditManager.html" title="interface in org.jivesoftware.openfire.audit">AuditManager</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>usernames</CODE> - the list of usernames that won't be audited.</DL></DD></DL><HR><A NAME="getIgnoreList()"><!-- --></A><H3>getIgnoreList</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Collection.html" title="class or interface in java.util">Collection</A>&lt;<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&gt; <B>getIgnoreList</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/jivesoftware/openfire/audit/AuditManager.html#getIgnoreList()">AuditManager</A></CODE></B></DD><DD>Returns the list of usernames that won't be audited. Packets sent or received by any of these users will be ignored by the auditor.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/jivesoftware/openfire/audit/AuditManager.html#getIgnoreList()">getIgnoreList</A></CODE> in interface <CODE><A HREF="../../../../../org/jivesoftware/openfire/audit/AuditManager.html" title="interface in org.jivesoftware.openfire.audit">AuditManager</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the list of usernames that won't be audited.</DL></DD></DL><HR><A NAME="initialize(org.jivesoftware.openfire.XMPPServer)"><!-- --></A><H3>initialize</H3><PRE>public void <B>initialize</B>(<A HREF="../../../../../org/jivesoftware/openfire/XMPPServer.html" title="class in org.jivesoftware.openfire">XMPPServer</A>&nbsp;server)</PRE><DL><DD><B>Description copied from class: <CODE><A HREF="../../../../../org/jivesoftware/openfire/container/BasicModule.html#initialize(org.jivesoftware.openfire.XMPPServer)">BasicModule</A></CODE></B></DD><DD><p>Initializes the basic module.</p> <p/> <p>Inheriting classes that choose to override this method MUST call this initialize() method before accessing BasicModule resources.</p><P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/jivesoftware/openfire/container/Module.html#initialize(org.jivesoftware.openfire.XMPPServer)">initialize</A></CODE> in interface <CODE><A HREF="../../../../../org/jivesoftware/openfire/container/Module.html" title="interface in org.jivesoftware.openfire.container">Module</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/jivesoftware/openfire/container/BasicModule.html#initialize(org.jivesoftware.openfire.XMPPServer)">initialize</A></CODE> in class <CODE><A HREF="../../../../../org/jivesoftware/openfire/container/BasicModule.html" title="class in org.jivesoftware.openfire.container">BasicModule</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>server</CODE> - the server hosting this module.</DL></DD></DL><HR><A NAME="stop()"><!-- --></A><H3>stop</H3><PRE>public void <B>stop</B>()</PRE><DL><DD><B>Description copied from class: <CODE><A HREF="../../../../../org/jivesoftware/openfire/container/BasicModule.html#stop()">BasicModule</A></CODE></B></DD><DD><p>Stops the basic module.</p> <p/> <p>Inheriting classes that choose to override this method MUST call this stop() method before accessing BasicModule resources.</p><P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/jivesoftware/openfire/container/Module.html#stop()">stop</A></CODE> in interface <CODE><A HREF="../../../../../org/jivesoftware/openfire/container/Module.html" title="interface in org.jivesoftware.openfire.container">Module</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/jivesoftware/openfire/container/BasicModule.html#stop()">stop</A></CODE> in class <CODE><A HREF="../../../../../org/jivesoftware/openfire/container/BasicModule.html" title="class in org.jivesoftware.openfire.container">BasicModule</A></CODE></DL></DD><DD><DL></DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">  <TR ALIGN="center" VALIGN="top">  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM><b>Openfire 3.6.0a Javadoc</b></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;PREV CLASS&nbsp;&nbsp;<A HREF="../../../../../org/jivesoftware/openfire/audit/spi/AuditorImpl.html" title="class in org.jivesoftware.openfire.audit.spi"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../../../index.html?org/jivesoftware/openfire/audit/spi/AuditManagerImpl.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="AuditManagerImpl.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<SCRIPT type="text/javascript">  <!--  if(window==top) {    document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');  }  //--></SCRIPT><NOSCRIPT>  <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR><i>Copyright &copy; 2003-2008 Jive Software.</i></BODY></HTML>

⌨️ 快捷键说明

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