📄 jcrespec06firewall.html
字号:
<P CLASS="Linebreak"></P><LI CLASS="Bullet1"><A NAME="pgfId-406997"></A>Otherwise, if the object is designated a Java Card RE Entry Point Object, access is allowed. </LI><P CLASS="Linebreak"></P><LI CLASS="Bullet1"><A NAME="pgfId-406999"></A>Otherwise, if the Java Card RE is the currently active context, access is allowed. </LI><P CLASS="Linebreak"></P><LI CLASS="Bullet1"><A NAME="pgfId-417005"></A>Otherwise, access is denied.</LI><P CLASS="Linebreak"></P></UL><H4 CLASS="Head3"><A NAME="pgfId-423001"></A>6.2.8.8 <A NAME="96058"></A>Accessing <A NAME="marker-423000"></A>Classes</H4><P CLASS="Paragraph"><A NAME="pgfId-423025"></A>Bytecodes:</P><PRE CLASS="Codeline"><A NAME="pgfId-423003"></A>checkcast, instanceof</PRE><UL><LI CLASS="Bullet1"><A NAME="pgfId-407011"></A>If the object is owned by an applet in the currently active context, access is allowed. </LI><P CLASS="Linebreak"></P><LI CLASS="Bullet1"><A NAME="pgfId-407013"></A>Otherwise, if the object is designated a Java Card RE Entry Point Object, access is allowed. </LI><P CLASS="Linebreak"></P><LI CLASS="Bullet1"><A NAME="pgfId-407015"></A>Otherwise, if the Java Card RE is the currently active context, access is allowed. </LI><P CLASS="Linebreak"></P><LI CLASS="Bullet1"><A NAME="pgfId-407017"></A>Otherwise, access is denied.</LI><P CLASS="Linebreak"></P></UL><H4 CLASS="Head3"><A NAME="pgfId-407019"></A>6.2.8.9 Accessing<A NAME="marker-416946"></A> Standard Interfaces</H4><P CLASS="Paragraph"><A NAME="pgfId-407021"></A>Bytecodes:</P><PRE CLASS="Codeline"><A NAME="pgfId-407023"></A>checkcast, instanceof</PRE><UL><LI CLASS="Bullet1"><A NAME="pgfId-407027"></A>If the object is owned by an applet in the currently active context, access is allowed.</LI><P CLASS="Linebreak"></P><LI CLASS="Bullet1"><A NAME="pgfId-417014"></A>Otherwise, if the object is designated a Java Card RE Entry Point Object, access is allowed.</LI><P CLASS="Linebreak"></P><LI CLASS="Bullet1"><A NAME="pgfId-407029"></A>Otherwise, if the Java Card RE is the currently active context, access is allowed. </LI><P CLASS="Linebreak"></P><LI CLASS="Bullet1"><A NAME="pgfId-407031"></A>Otherwise, access is denied.</LI><P CLASS="Linebreak"></P></UL><H4 CLASS="Head3"><A NAME="pgfId-407033"></A>6.2.8.10 <A NAME="69014"></A>Accessing Shareable <A NAME="marker-416947"></A>Interfaces</H4><P CLASS="Paragraph"><A NAME="pgfId-407035"></A>Bytecodes:</P><PRE CLASS="Codeline"><A NAME="pgfId-407037"></A>checkcast, instanceof</PRE><UL><LI CLASS="Bullet1"><A NAME="pgfId-407041"></A>If the object is owned by an applet in the currently active context, access is allowed. </LI><P CLASS="Linebreak"></P><LI CLASS="Bullet1"><A NAME="pgfId-407043"></A>Otherwise, if the object's class implements a <KBD CLASS="Filename-Command">Shareable</KBD> interface, and if the object is being cast into (<KBD CLASS="Filename-Command">checkcast</KBD>) or is being verified as being an instance of (<KBD CLASS="Filename-Command">instanceof</KBD>) an interface that extends the <KBD CLASS="Filename-Command">Shareable</KBD> interface, access is allowed.</LI><P CLASS="Linebreak"></P><LI CLASS="Bullet1"><A NAME="pgfId-407045"></A>Otherwise, if the Java Card RE is the currently active context, access is allowed. </LI><P CLASS="Linebreak"></P><LI CLASS="Bullet1"><A NAME="pgfId-407047"></A>Otherwise, access is denied.</LI><P CLASS="Linebreak"></P></UL><H4 CLASS="Head3"><A NAME="pgfId-407055"></A>6.2.8.11 <A NAME="marker-416948"></A>Accessing Array Object Methods</H4><BR><HR NOSHADE SIZE=1><TABLE CLASS="TipNote" DIR="LTR" WIDTH="100%" SUMMARY="TipNote"><COLGROUP SPAN="1" WIDTH="100%"><TR ALIGN="left" VALIGN="top"><TD ROWSPAN="1" COLSPAN="1" ABBR="TipNoteText"><P CLASS="TipNote"><B CLASS="TipNote">Note - </B><A NAME="pgfId-407057"></A>The method access behavior of global arrays is identical to that of Java Card RE Entry Point Objects. </P></TD></TR></TABLE><HR NOSHADE SIZE=1><BR><P CLASS="Paragraph"><A NAME="pgfId-407059"></A>Bytecodes:</P><PRE CLASS="Codeline"><A NAME="pgfId-407061"></A>invokevirtual</PRE><UL><LI CLASS="Bullet1"><A NAME="pgfId-407063"></A>If the array is owned by an applet in the currently active context, access is allowed. </LI><P CLASS="Linebreak"></P><LI CLASS="Bullet1"><A NAME="pgfId-407065"></A>Otherwise, if the array is designated a global array, access is allowed. Context is switched to the array owner's context (Java Card RE context). </LI><P CLASS="Linebreak"></P><LI CLASS="Bullet1"><A NAME="pgfId-407067"></A>Otherwise, if Java Card RE is the currently active context, access is allowed. Context is switched to the array owner's context. </LI><P CLASS="Linebreak"></P><LI CLASS="Bullet1"><A NAME="pgfId-415078"></A>Otherwise, access is denied. </LI><P CLASS="Linebreak"></P></UL><HR><DIV CLASS="footnotes"><DIV CLASS="footnote"><SUP CLASS="Footnote"><SPAN CLASS="footnoteNumber">1</SPAN><B><A HREF="#fnote1"> (Footnote) </A></B><A NAME="pgfId-415269"></A></A>Note that a library package is not assigned a separate context. Objects from a library package belong to the context of the creating applet instance.</SUP><div class="navbar" align="center"><br><br><table dir="LTR" summary="Navigation bar, includes the book title and navigation buttons" width=100% cellpadding="0" cellspacing="0" border="0"><colgroup span="3" width="100%"><col id="1" span="1" width="45%"><col id="2" span="1" width="25%"><col id="3" span="1" width="30%"><tr bgcolor="#cccccc"><td class="navbartitle" align=left rowspan="1" colspan="1" abbr="ChapTitle"> Runtime Environment Specification for the Java Card Platform, Version 2.2.2</td><td class="navbartitle" align=right rowspan="1" colspan="1" abbr="PartNum">3-8-06</td><td valign="top" align="right" rowspan="1" colspan="1" abbr="NavButtons"><a href="index.html"><img src="shared/toc01.gif" title="Table Of Contents" alt="Table Of Contents" width="30" height="26" border="0"></a><a href="JCRESpec05transient.html"><img src="shared/prev01.gif" title="Previous Chapter" alt="Previous Chapter" width="30" height="26" border="0"></a><a href="JCRESpec07transact.html"><img src="shared/next01.gif" title="Next Chapter" alt="Next Chapter" width="30" height="26" border="0"></a><a href="ix.html"><img src="shared/index01.gif" title="Book Index" alt="Book Index" width="30" height="26" border="0"></a></td></tr></table><br><br></div><P CLASS="copyrightlink"><a href="copyright.html">Copyright</a> © 2005, Sun Microsystems, Inc. All Rights Reserved.</P></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -