📄 platform.html
字号:
computed as 1 + the square of the number of modules currently in the list.</li> </ul><P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../net/jxta/impl/peergroup/StdPeerGroup.html#initFirst(net.jxta.peergroup.PeerGroup, net.jxta.id.ID, net.jxta.document.Advertisement)">initFirst</A></CODE> in class <CODE><A HREF="../../../../net/jxta/impl/peergroup/StdPeerGroup.html" title="class in net.jxta.impl.peergroup">StdPeerGroup</A></CODE></DL></DD><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="../../../../net/jxta/exception/PeerGroupException.html" title="class in net.jxta.exception">PeerGroupException</A></CODE></DL></DD></DL><HR><A NAME="initLast()"><!-- --></A><H3>initLast</H3><PRE>protected void <B>initLast</B>() throws <A HREF="../../../../net/jxta/exception/PeerGroupException.html" title="class in net.jxta.exception">PeerGroupException</A></PRE><DL><DD>Perform all initialization steps that need to be performed after any subclass initialization is performed. <p/>Classes that override this method should always call super.initLast <strong>after</strong> doing any of their own work.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../net/jxta/impl/peergroup/StdPeerGroup.html#initLast()">initLast</A></CODE> in class <CODE><A HREF="../../../../net/jxta/impl/peergroup/StdPeerGroup.html" title="class in net.jxta.impl.peergroup">StdPeerGroup</A></CODE></DL></DD><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="../../../../net/jxta/exception/PeerGroupException.html" title="class in net.jxta.exception">PeerGroupException</A></CODE></DL></DD></DL><HR><A NAME="generateConfigAdvertisement()"><!-- --></A><H3>generateConfigAdvertisement</H3><PRE>protected <A HREF="../../../../net/jxta/impl/protocol/PlatformConfig.html" title="class in net.jxta.impl.protocol">PlatformConfig</A> <B>generateConfigAdvertisement</B>() throws <A HREF="../../../../net/jxta/exception/PeerGroupException.html" title="class in net.jxta.exception">PeerGroupException</A></PRE><DL><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="../../../../net/jxta/exception/PeerGroupException.html" title="class in net.jxta.exception">PeerGroupException</A></CODE></DL></DD></DL><HR><A NAME="saveConfigAdvertisement(net.jxta.impl.protocol.PlatformConfig)"><!-- --></A><H3>saveConfigAdvertisement</H3><PRE>protected void <B>saveConfigAdvertisement</B>(<A HREF="../../../../net/jxta/impl/protocol/PlatformConfig.html" title="class in net.jxta.impl.protocol">PlatformConfig</A> config)</PRE><DL><DD>Save config advertisement after the init. This method is called after the init.<P><DD><DL></DL></DD></DL><HR><A NAME="validateConfigAdvertisement()"><!-- --></A><H3>validateConfigAdvertisement</H3><PRE>protected void <B>validateConfigAdvertisement</B>()</PRE><DL><DD>Mark the saved configuration as being valid. This method is called after the init.<P><DD><DL></DL></DD></DL><HR><A NAME="invalidateConfigAdvertisement()"><!-- --></A><H3>invalidateConfigAdvertisement</H3><PRE>protected void <B>invalidateConfigAdvertisement</B>()</PRE><DL><DD>Mark the saved configuration as being invalid. This method is called before init() in case init() fails so that reconfig will happen at the start of the next platform init()<P><DD><DL></DL></DD></DL><HR><A NAME="mkPlatformImplAdv()"><!-- --></A><H3>mkPlatformImplAdv</H3><PRE>protected <A HREF="../../../../net/jxta/protocol/ModuleImplAdvertisement.html" title="class in net.jxta.protocol">ModuleImplAdvertisement</A> <B>mkPlatformImplAdv</B>() throws java.lang.Exception</PRE><DL><DD><DL><DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE></DL></DD></DL><HR><A NAME="stopApp()"><!-- --></A><H3>stopApp</H3><PRE>public void <B>stopApp</B>()</PRE><DL><DD>Stops the group and all its services. <p/>PeerGroupInterface's stopApp() does nothing. Only a real reference to the group object permits to stop it without going through ref counting.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../net/jxta/platform/Module.html#stopApp()">stopApp</A></CODE> in interface <CODE><A HREF="../../../../net/jxta/platform/Module.html" title="interface in net.jxta.platform">Module</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../net/jxta/impl/peergroup/StdPeerGroup.html#stopApp()">stopApp</A></CODE> in class <CODE><A HREF="../../../../net/jxta/impl/peergroup/StdPeerGroup.html" title="class in net.jxta.impl.peergroup">StdPeerGroup</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getAllPurposePeerGroupImplAdvertisement()"><!-- --></A><H3>getAllPurposePeerGroupImplAdvertisement</H3><PRE>public <A HREF="../../../../net/jxta/protocol/ModuleImplAdvertisement.html" title="class in net.jxta.protocol">ModuleImplAdvertisement</A> <B>getAllPurposePeerGroupImplAdvertisement</B>() throws java.lang.Exception</PRE><DL><DD>Returns the all purpose peer group implementation advertisement that is most usefull when called in the context of the platform group: the description of an infrastructure group. This definition is always the same and has a well known ModuleSpecID. It includes the basic service, high-level transports and the shell for main application. It differs from the one returned by StdPeerGroup only in that it includes the high-level transports (and different specID, name and description, of course). However, in order to avoid confusing inheritance schemes (class hierarchy is inverse of object hierarchy) other possible dependency issues, we just redefine it fully, right here. The user must remember to change the specID if the set of services protocols or applications is altered before use.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../net/jxta/peergroup/PeerGroup.html#getAllPurposePeerGroupImplAdvertisement()">getAllPurposePeerGroupImplAdvertisement</A></CODE> in interface <CODE><A HREF="../../../../net/jxta/peergroup/PeerGroup.html" title="interface in net.jxta.peergroup">PeerGroup</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../net/jxta/impl/peergroup/StdPeerGroup.html#getAllPurposePeerGroupImplAdvertisement()">getAllPurposePeerGroupImplAdvertisement</A></CODE> in class <CODE><A HREF="../../../../net/jxta/impl/peergroup/StdPeerGroup.html" title="class in net.jxta.impl.peergroup">StdPeerGroup</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>ModuleImplAdvertisement The new peergroup impl adv.<DT><B>Throws:</B><DD><CODE>java.lang.Exception</CODE></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=3 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="class-use/Platform.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>JXTA J2SE</EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../net/jxta/impl/peergroup/PeerGroupInterface.html" title="class in net.jxta.impl.peergroup"><B>PREV CLASS</B></A> <A HREF="../../../../net/jxta/impl/peergroup/RefCountPeerGroupInterface.html" title="class in net.jxta.impl.peergroup"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html" target="_top"><B>FRAMES</B></A> <A HREF="Platform.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_net.jxta.impl.peergroup.StdPeerGroup">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></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -