📄 internalcomponentmanager.html
字号:
<DD><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - the property name.<DD><CODE>value</CODE> - the property value.</DL></DD></DL><HR><A NAME="getServerName()"><!-- --></A><H3>getServerName</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>getServerName</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../org/xmpp/component/ComponentManager.html#getServerName()">ComponentManager</A></CODE></B></DD><DD>Returns the domain of the XMPP server. The domain name may be the IP address or the host name.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/xmpp/component/ComponentManager.html#getServerName()">getServerName</A></CODE> in interface <CODE><A HREF="../../../../org/xmpp/component/ComponentManager.html" title="interface in org.xmpp.component">ComponentManager</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the domain of the XMPP server.</DL></DD></DL><HR><A NAME="getHomeDirectory()"><!-- --></A><H3>getHomeDirectory</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>getHomeDirectory</B>()</PRE><DL><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="isExternalMode()"><!-- --></A><H3>isExternalMode</H3><PRE>public boolean <B>isExternalMode</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../org/xmpp/component/ComponentManager.html#isExternalMode()">ComponentManager</A></CODE></B></DD><DD>Returns true if components managed by this component manager are external components connected to the server over a network connection. Otherwise, the components are internal to the server.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/xmpp/component/ComponentManager.html#isExternalMode()">isExternalMode</A></CODE> in interface <CODE><A HREF="../../../../org/xmpp/component/ComponentManager.html" title="interface in org.xmpp.component">ComponentManager</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>true if the managed components are external components.</DL></DD></DL><HR><A NAME="getLog()"><!-- --></A><H3>getLog</H3><PRE>public <A HREF="../../../../org/xmpp/component/Log.html" title="interface in org.xmpp.component">Log</A> <B>getLog</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../org/xmpp/component/ComponentManager.html#getLog()">ComponentManager</A></CODE></B></DD><DD>Returns a Log instance, which can be used by components for logging error, warning, info, and debug messages.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/xmpp/component/ComponentManager.html#getLog()">getLog</A></CODE> in interface <CODE><A HREF="../../../../org/xmpp/component/ComponentManager.html" title="interface in org.xmpp.component">ComponentManager</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>a Log instance.</DL></DD></DL><HR><A NAME="hasComponent(org.xmpp.packet.JID)"><!-- --></A><H3>hasComponent</H3><PRE>public boolean <B>hasComponent</B>(<A HREF="../../../../org/xmpp/packet/JID.html" title="class in org.xmpp.packet">JID</A> componentJID)</PRE><DL><DD>Returns true if a component is associated to the specified address. Components registered with this JVM or other cluster nodes are going to be considered.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>componentJID</CODE> - the address of the component. This is the complete domain.<DT><B>Returns:</B><DD>true if a component is associated to the specified address.</DL></DD></DL><HR><A NAME="addPresenceRequest(org.xmpp.packet.JID, org.xmpp.packet.JID)"><!-- --></A><H3>addPresenceRequest</H3><PRE>public void <B>addPresenceRequest</B>(<A HREF="../../../../org/xmpp/packet/JID.html" title="class in org.xmpp.packet">JID</A> prober, <A HREF="../../../../org/xmpp/packet/JID.html" title="class in org.xmpp.packet">JID</A> probee)</PRE><DL><DD>Registers Probeers who have not yet been serviced.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>prober</CODE> - the jid probing.<DD><CODE>probee</CODE> - the presence being probed.</DL></DD></DL><HR><A NAME="getAddress()"><!-- --></A><H3>getAddress</H3><PRE>public <A HREF="../../../../org/xmpp/packet/JID.html" title="class in org.xmpp.packet">JID</A> <B>getAddress</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../org/jivesoftware/openfire/RoutableChannelHandler.html#getAddress()">RoutableChannelHandler</A></CODE></B></DD><DD>Returns the XMPP address. The address is used by services like the core server packet router to determine if a packet should be sent to the handler. Handlers that are working on behalf of the server should use the generic server hostname address (e.g. server.com).<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/jivesoftware/openfire/RoutableChannelHandler.html#getAddress()">getAddress</A></CODE> in interface <CODE><A HREF="../../../../org/jivesoftware/openfire/RoutableChannelHandler.html" title="interface in org.jivesoftware.openfire">RoutableChannelHandler</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the XMPP address.</DL></DD></DL><HR><A NAME="process(org.xmpp.packet.Packet)"><!-- --></A><H3>process</H3><PRE>public void <B>process</B>(<A HREF="../../../../org/xmpp/packet/Packet.html" title="class in org.xmpp.packet">Packet</A> packet) throws <A HREF="../../../../org/jivesoftware/openfire/PacketException.html" title="class in org.jivesoftware.openfire">PacketException</A></PRE><DL><DD>Processes packets that were sent to this service. Currently only packets that were sent from registered components are being processed. In the future, we may also process packet of trusted clients. Trusted clients may be able to execute ad-hoc commands such as adding or removing components.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/jivesoftware/openfire/ChannelHandler.html#process(T)">process</A></CODE> in interface <CODE><A HREF="../../../../org/jivesoftware/openfire/ChannelHandler.html" title="interface in org.jivesoftware.openfire">ChannelHandler</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>packet</CODE> - the packet to process.<DT><B>Throws:</B><DD><CODE><A HREF="../../../../org/jivesoftware/openfire/PacketException.html" title="class in org.jivesoftware.openfire">PacketException</A></CODE> - thrown if the packet is malformed (results in the sender's session being shutdown).</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/openfire/component/ExternalComponentManagerListener.html" title="interface in org.jivesoftware.openfire.component"><B>PREV CLASS</B></A> <A HREF="../../../../org/jivesoftware/openfire/component/NotifyComponentInfo.html" title="class in org.jivesoftware.openfire.component"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html?org/jivesoftware/openfire/component/InternalComponentManager.html" target="_top"><B>FRAMES</B></A> <A HREF="InternalComponentManager.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 | FIELD | <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 + -