📄 webmanager.html
字号:
<P><DD><DL></DL></DD></DL><HR><A NAME="isEmbedded()"><!-- --></A><H3>isEmbedded</H3><PRE>public boolean <B>isEmbedded</B>()</PRE><DL><DD>Returns <tt>true</tt> if the server is in embedded mode, <tt>false</tt> otherwise.<P><DD><DL></DL></DD></DL><HR><A NAME="restart()"><!-- --></A><H3>restart</H3><PRE>public void <B>restart</B>()</PRE><DL><DD>Restarts the server then sleeps for 3 seconds.<P><DD><DL></DL></DD></DL><HR><A NAME="stop()"><!-- --></A><H3>stop</H3><PRE>public void <B>stop</B>()</PRE><DL><DD>Stops the server then sleeps for 3 seconds.<P><DD><DL></DL></DD></DL><HR><A NAME="getManager()"><!-- --></A><H3>getManager</H3><PRE>public <A HREF="../../../org/jivesoftware/util/WebManager.html" title="class in org.jivesoftware.util">WebManager</A> <B>getManager</B>()</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="validateService()"><!-- --></A><H3>validateService</H3><PRE>public void <B>validateService</B>()</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="isServerRunning()"><!-- --></A><H3>isServerRunning</H3><PRE>public boolean <B>isServerRunning</B>()</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="setStart(int)"><!-- --></A><H3>setStart</H3><PRE>public void <B>setStart</B>(int start)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="getStart()"><!-- --></A><H3>getStart</H3><PRE>public int <B>getStart</B>()</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="setRange(int)"><!-- --></A><H3>setRange</H3><PRE>public void <B>setRange</B>(int range)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="getRange()"><!-- --></A><H3>getRange</H3><PRE>public int <B>getRange</B>()</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="getCurrentPage()"><!-- --></A><H3>getCurrentPage</H3><PRE>public int <B>getCurrentPage</B>()</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="showServerDown()"><!-- --></A><H3>showServerDown</H3><PRE>protected void <B>showServerDown</B>()</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="copy(java.net.URL, java.io.File)"><!-- --></A><H3>copy</H3><PRE>public static void <B>copy</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/net/URL.html" title="class or interface in java.net">URL</A> src, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/io/File.html" title="class or interface in java.io">File</A> dst) throws <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE><DL><DD>Copies the contents at <CODE>src</CODE> to <CODE>dst</CODE>.<P><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE></DL></DD></DL><HR><A NAME="getRowsPerPage(java.lang.String, int)"><!-- --></A><H3>getRowsPerPage</H3><PRE>public int <B>getRowsPerPage</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> pageName, int defaultValue)</PRE><DL><DD>Returns the number of rows per page for the specified page for the current logged user. The rows per page value is stored as a user property. The same property is being used for different pages. The encoding format is the following "pageName1=value,pageName2=value".<P><DD><DL><DT><B>Parameters:</B><DD><CODE>pageName</CODE> - the name of the page to look up its stored value.<DD><CODE>defaultValue</CODE> - the default value to return if no user value was found.<DT><B>Returns:</B><DD>the number of rows per page for the specified page for the current logged user.</DL></DD></DL><HR><A NAME="setRowsPerPage(java.lang.String, int)"><!-- --></A><H3>setRowsPerPage</H3><PRE>public void <B>setRowsPerPage</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> pageName, int newValue)</PRE><DL><DD>Sets the new number of rows per page for the specified page for the current logged user. The rows per page value is stored as a user property. The same property is being used for different pages. The encoding format is the following "pageName1=value,pageName2=value".<P><DD><DL><DT><B>Parameters:</B><DD><CODE>pageName</CODE> - the name of the page to stored its new value.<DD><CODE>newValue</CODE> - the new rows per page value.</DL></DD></DL><HR><A NAME="getRefreshValue(java.lang.String, int)"><!-- --></A><H3>getRefreshValue</H3><PRE>public int <B>getRefreshValue</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> pageName, int defaultValue)</PRE><DL><DD>Returns the number of seconds between each page refresh for the specified page for the current logged user. The value is stored as a user property. The same property is being used for different pages. The encoding format is the following "pageName1=value,pageName2=value".<P><DD><DL><DT><B>Parameters:</B><DD><CODE>pageName</CODE> - the name of the page to look up its stored value.<DD><CODE>defaultValue</CODE> - the default value to return if no user value was found.<DT><B>Returns:</B><DD>the number of seconds between each page refresh for the specified page for the current logged user.</DL></DD></DL><HR><A NAME="setRefreshValue(java.lang.String, int)"><!-- --></A><H3>setRefreshValue</H3><PRE>public void <B>setRefreshValue</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> pageName, int newValue)</PRE><DL><DD>Sets the number of seconds between each page refresh for the specified page for the current logged user. The value is stored as a user property. The same property is being used for different pages. The encoding format is the following "pageName1=value,pageName2=value".<P><DD><DL><DT><B>Parameters:</B><DD><CODE>pageName</CODE> - the name of the page to stored its new value.<DD><CODE>newValue</CODE> - the new number of seconds between each page refresh.</DL></DD></DL><HR><A NAME="getPageProperty(java.lang.String, java.lang.String, int)"><!-- --></A><H3>getPageProperty</H3><PRE>public int <B>getPageProperty</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> pageName, <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> property, int defaultValue)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="setPageProperty(java.lang.String, java.lang.String, int)"><!-- --></A><H3>setPageProperty</H3><PRE>public void <B>setPageProperty</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> pageName, <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> property, int newValue)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="getCaches()"><!-- --></A><H3>getCaches</H3><PRE>public <A HREF="../../../org/jivesoftware/util/cache/Cache.html" title="interface in org.jivesoftware.util.cache">Cache</A>[] <B>getCaches</B>()</PRE><DL><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> </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="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><b>Openfire 3.6.0a Javadoc</b></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../org/jivesoftware/util/WebBean.html" title="class in org.jivesoftware.util"><B>PREV CLASS</B></A> <A HREF="../../../org/jivesoftware/util/XMLProperties.html" title="class in org.jivesoftware.util"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../index.html?org/jivesoftware/util/WebManager.html" target="_top"><B>FRAMES</B></A> <A HREF="WebManager.html" target="_top"><B>NO FRAMES</B></A> <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: NESTED | <A HREF="#fields_inherited_from_class_org.jivesoftware.util.WebBean">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: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR><i>Copyright © 2003-2008 Jive Software.</i></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -