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

📄 adminconsoleplugin.html

📁 开源软件openfire的API文件。进行openfire的二次开发所必需的工具。
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TH></TR></TABLE><A NAME="AdminConsolePlugin()"><!-- --></A><H3>AdminConsolePlugin</H3><PRE>public <B>AdminConsolePlugin</B>()</PRE><DL><DD>Create a Jetty module.<P></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Method Detail</B></FONT></TH></TR></TABLE><A NAME="startup()"><!-- --></A><H3>startup</H3><PRE>public void <B>startup</B>()</PRE><DL><DD>Starts the Jetty instance.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="shutdown()"><!-- --></A><H3>shutdown</H3><PRE>public void <B>shutdown</B>()</PRE><DL><DD>Shuts down the Jetty server.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="initializePlugin(org.jivesoftware.openfire.container.PluginManager, java.io.File)"><!-- --></A><H3>initializePlugin</H3><PRE>public void <B>initializePlugin</B>(<A HREF="../../../../org/jivesoftware/openfire/container/PluginManager.html" title="class in org.jivesoftware.openfire.container">PluginManager</A>&nbsp;manager,                             <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>&nbsp;pluginDir)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../org/jivesoftware/openfire/container/Plugin.html#initializePlugin(org.jivesoftware.openfire.container.PluginManager, java.io.File)">Plugin</A></CODE></B></DD><DD>Initializes the plugin.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/jivesoftware/openfire/container/Plugin.html#initializePlugin(org.jivesoftware.openfire.container.PluginManager, java.io.File)">initializePlugin</A></CODE> in interface <CODE><A HREF="../../../../org/jivesoftware/openfire/container/Plugin.html" title="interface in org.jivesoftware.openfire.container">Plugin</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>manager</CODE> - the plugin manager.<DD><CODE>pluginDir</CODE> - the directory where the plugin is located.</DL></DD></DL><HR><A NAME="destroyPlugin()"><!-- --></A><H3>destroyPlugin</H3><PRE>public void <B>destroyPlugin</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../org/jivesoftware/openfire/container/Plugin.html#destroyPlugin()">Plugin</A></CODE></B></DD><DD>Destroys the plugin.<p> Implementations of this method must release all resources held by the plugin such as file handles, database or network connections, and references to core Openfire classes. In other words, a garbage collection executed after this method is called must be able to clean up all plugin classes.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/jivesoftware/openfire/container/Plugin.html#destroyPlugin()">destroyPlugin</A></CODE> in interface <CODE><A HREF="../../../../org/jivesoftware/openfire/container/Plugin.html" title="interface in org.jivesoftware.openfire.container">Plugin</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="isRestartNeeded()"><!-- --></A><H3>isRestartNeeded</H3><PRE>public boolean <B>isRestartNeeded</B>()</PRE><DL><DD>Returns true if the Jetty server needs to be restarted. This is usually required when certificates are added, deleted or modified or when server ports were modified.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>true if the Jetty server needs to be restarted.</DL></DD></DL><HR><A NAME="getBindInterface()"><!-- --></A><H3>getBindInterface</H3><PRE>public <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> <B>getBindInterface</B>()</PRE><DL><DD>Returns <tt>null</tt> if the admin console will be available in all network interfaces of this machine or a String representing the only interface where the admin console will be available.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>String representing the only interface where the admin console will be available or null if it will be available in all interfaces.</DL></DD></DL><HR><A NAME="getAdminUnsecurePort()"><!-- --></A><H3>getAdminUnsecurePort</H3><PRE>public int <B>getAdminUnsecurePort</B>()</PRE><DL><DD>Returns the non-SSL port on which the admin console is currently operating.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the non-SSL port on which the admin console is currently operating.</DL></DD></DL><HR><A NAME="getAdminSecurePort()"><!-- --></A><H3>getAdminSecurePort</H3><PRE>public int <B>getAdminSecurePort</B>()</PRE><DL><DD>Returns the SSL port on which the admin console is current operating.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the SSL port on which the admin console is current operating.</DL></DD></DL><HR><A NAME="getContexts()"><!-- --></A><H3>getContexts</H3><PRE>public org.mortbay.jetty.handler.ContextHandlerCollection <B>getContexts</B>()</PRE><DL><DD>Returns the collection of Jetty contexts used in the admin console. A root context "/" is where the admin console lives. Additional contexts can be added dynamically for other web applications that should be run as part of the admin console server process. The following pseudo code demonstrates how to do this: <pre>   ContextHandlerCollection contexts = ((AdminConsolePlugin)pluginManager.getPlugin("admin")).getContexts();   context = new WebAppContext(SOME_DIRECTORY, "/CONTEXT_NAME");   contexts.addHandler(context);   context.setWelcomeFiles(new String[]{"index.jsp"});   context.start(); </pre><P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the Jetty handlers.</DL></DD></DL><HR><A NAME="restart()"><!-- --></A><H3>restart</H3><PRE>public void <B>restart</B>()</PRE><DL><DD><DL></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/container/BasicModule.html" title="class in org.jivesoftware.openfire.container"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../../index.html?org/jivesoftware/openfire/container/AdminConsolePlugin.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="AdminConsolePlugin.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;<A HREF="#field_summary">FIELD</A>&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;<A HREF="#field_detail">FIELD</A>&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 + -