📄 alwaysaccessservice.html
字号:
<DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../net/jxta/platform/Module.html#startApp(java.lang.String[])">startApp</A></CODE> in interface <CODE><A HREF="../../../../../net/jxta/platform/Module.html" title="interface in net.jxta.platform">Module</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>args</CODE> - An array of Strings forming the parameters for this Module.<DT><B>Returns:</B><DD>int A status indication which may be one of <A HREF="../../../../../net/jxta/platform/Module.html#START_OK"><CODE>Module.START_OK</CODE></A>, <A HREF="../../../../../net/jxta/platform/Module.html#START_AGAIN_PROGRESS"><CODE>Module.START_AGAIN_PROGRESS</CODE></A>, <A HREF="../../../../../net/jxta/platform/Module.html#START_AGAIN_STALLED"><CODE>Module.START_AGAIN_STALLED</CODE></A>, which indicates partial or complete success, or any other value (negative values are recommended for future compatibility), which indicates failure.</DL></DD></DL><HR><A NAME="stopApp()"><!-- --></A><H3>stopApp</H3><PRE>public void <B>stopApp</B>()</PRE><DL><DD>One can ask a Module to stop. The Module cannot be forced to comply, but in the future we might be able to deny it access to anything after some timeout. <p/>Note: the name of this method is no-longer adequate.<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></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getImplAdvertisement()"><!-- --></A><H3>getImplAdvertisement</H3><PRE>public <A HREF="../../../../../net/jxta/document/Advertisement.html" title="class in net.jxta.document">Advertisement</A> <B>getImplAdvertisement</B>()</PRE><DL><DD>Returns the advertisment for this service.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../net/jxta/service/Service.html#getImplAdvertisement()">getImplAdvertisement</A></CODE> in interface <CODE><A HREF="../../../../../net/jxta/service/Service.html" title="interface in net.jxta.service">Service</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>Advertisement the advertisement.</DL></DD></DL><HR><A NAME="getInterface()"><!-- --></A><H3>getInterface</H3><PRE>public <A HREF="../../../../../net/jxta/service/Service.html" title="interface in net.jxta.service">Service</A> <B>getInterface</B>()</PRE><DL><DD>Service objects are not manipulated directly to protect usage of the service. A Service interface is returned to access the service methods.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../net/jxta/service/Service.html#getInterface()">getInterface</A></CODE> in interface <CODE><A HREF="../../../../../net/jxta/service/Service.html" title="interface in net.jxta.service">Service</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>Service public interface of the service</DL></DD></DL><HR><A NAME="getPeerGroup()"><!-- --></A><H3>getPeerGroup</H3><PRE><A HREF="../../../../../net/jxta/peergroup/PeerGroup.html" title="interface in net.jxta.peergroup">PeerGroup</A> <B>getPeerGroup</B>()</PRE><DL><DD>{@inheritDoc}<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="doAccessCheck(net.jxta.credential.PrivledgedOperation, net.jxta.credential.Credential)"><!-- --></A><H3>doAccessCheck</H3><PRE>public <A HREF="../../../../../net/jxta/access/AccessService.AccessResult.html" title="class in net.jxta.access">AccessService.AccessResult</A> <B>doAccessCheck</B>(<A HREF="../../../../../net/jxta/credential/PrivledgedOperation.html" title="interface in net.jxta.credential">PrivledgedOperation</A> op, <A HREF="../../../../../net/jxta/credential/Credential.html" title="interface in net.jxta.credential">Credential</A> cred)</PRE><DL><DD>Determine if a privledged operation is permitted for a given identitiy.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../net/jxta/access/AccessService.html#doAccessCheck(net.jxta.credential.PrivledgedOperation, net.jxta.credential.Credential)">doAccessCheck</A></CODE> in interface <CODE><A HREF="../../../../../net/jxta/access/AccessService.html" title="interface in net.jxta.access">AccessService</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>op</CODE> - the operation which is being requested.<DD><CODE>cred</CODE> - the identity which is requesting.<DT><B>Returns:</B><DD>the result of the access check.</DL></DD></DL><HR><A NAME="newPrivledgedOperation(java.lang.Object, net.jxta.credential.Credential)"><!-- --></A><H3>newPrivledgedOperation</H3><PRE>public <A HREF="../../../../../net/jxta/credential/PrivledgedOperation.html" title="interface in net.jxta.credential">PrivledgedOperation</A> <B>newPrivledgedOperation</B>(java.lang.Object subject, <A HREF="../../../../../net/jxta/credential/Credential.html" title="interface in net.jxta.credential">Credential</A> offerer)</PRE><DL><DD>Create a new privledged operation with the specified subject. Each operation is also associated with an identity, the offerer. Generally the privledged operation is cryptographically signed by the offerer.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../net/jxta/access/AccessService.html#newPrivledgedOperation(java.lang.Object, net.jxta.credential.Credential)">newPrivledgedOperation</A></CODE> in interface <CODE><A HREF="../../../../../net/jxta/access/AccessService.html" title="interface in net.jxta.access">AccessService</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>subject</CODE> - The subject of the operation. This usually identifies what operation is being requested.<DD><CODE>offerer</CODE> - The identity which is offering the operation.<DT><B>Returns:</B><DD>The privledged operation object<DT><B>See Also:</B><DD><A HREF="../../../../../net/jxta/credential/Credential.html" title="interface in net.jxta.credential"><CODE>Credential</CODE></A></DL></DD></DL><HR><A NAME="newPrivledgedOperation(net.jxta.document.Element)"><!-- --></A><H3>newPrivledgedOperation</H3><PRE>public <A HREF="../../../../../net/jxta/credential/PrivledgedOperation.html" title="interface in net.jxta.credential">PrivledgedOperation</A> <B>newPrivledgedOperation</B>(<A HREF="../../../../../net/jxta/document/Element.html" title="interface in net.jxta.document">Element</A> source)</PRE><DL><DD>Read a privledged operation from a portion of a structured document.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../net/jxta/access/AccessService.html#newPrivledgedOperation(net.jxta.document.Element)">newPrivledgedOperation</A></CODE> in interface <CODE><A HREF="../../../../../net/jxta/access/AccessService.html" title="interface in net.jxta.access">AccessService</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>source</CODE> - The root of the document portion containing the serialized representation of the privledged operation.<DT><B>Returns:</B><DD>The privledged operation object.</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/AlwaysAccessService.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"> PREV CLASS NEXT CLASS</FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../index.html" target="_top"><B>FRAMES</B></A> <A HREF="AlwaysAccessService.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="#field_summary">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: <A HREF="#field_detail">FIELD</A> | <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 + -