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

📄 object.html

📁 API資料大全
💻 HTML
📖 第 1 页 / 共 2 页
字号:
 implements the given interface.<DD><DL><DT><B>Parameters:</B><DD><CODE>repositoryIdentifier</CODE> - the interface to check against<DT><B>Returns:</B><DD><code>true</code> if this object reference is an instance         of a class that implements the interface;         <code>false</code> otherwise</DL></DD></DL><HR><A NAME="_is_equivalent(org.omg.CORBA.Object)"><!-- --></A><H3>_is_equivalent</H3><PRE>public boolean <B>_is_equivalent</B>(<A HREF="../../../org/omg/CORBA/Object.html">Object</A>&nbsp;other)</PRE><DL><DD>Determines whether the two object references are equivalent, so far as the ORB can easily determine. Two object references are equivalent if they are identical. Two distinct object references which in fact refer to the same object are also equivalent. However, ORBs are not required to attempt determination of whether two distinct object references refer to the same object, since such determination could be impractically expensive.<DD><DL><DT><B>Parameters:</B><DD><CODE>other</CODE> - the other object reference with which to check for equivalence<DT><B>Returns:</B><DD><code>true</code> if this object reference is known to be         equivalent to the given object reference.         Note that <code>false</code> indicates only that the two         object references are distinct, not necessarily that         they reference distinct objects.</DL></DD></DL><HR><A NAME="_non_existent()"><!-- --></A><H3>_non_existent</H3><PRE>public boolean <B>_non_existent</B>()</PRE><DL><DD>Determines whether the server object for this object reference has been destroyed.<DD><DL><DT><B>Returns:</B><DD><code>true</code> if the ORB knows authoritatively that the         server object does not exist; <code>false</code> otherwise</DL></DD></DL><HR><A NAME="_hash(int)"><!-- --></A><H3>_hash</H3><PRE>public int <B>_hash</B>(int&nbsp;maximum)</PRE><DL><DD>Returns an ORB-internal identifier for this object reference. This is a hash identifier, which does not change during the lifetime of the object reference, and so neither will any hash function of that identifier change. The value returned is not guaranteed to be unique; in other words, another object reference may have the same hash value. If two object references hash differently, then they are distinct object references; however, both may still refer to the same CORBA object.<DD><DL><DT><B>Parameters:</B><DD><CODE>maximum</CODE> - the upper bound on the hash value returned by the ORB<DT><B>Returns:</B><DD>the ORB-internal hash identifier for this object reference</DL></DD></DL><HR><A NAME="_duplicate()"><!-- --></A><H3>_duplicate</H3><PRE>public <A HREF="../../../org/omg/CORBA/Object.html">Object</A> <B>_duplicate</B>()</PRE><DL><DD>Returns a duplicate of this CORBA object reference. The server object implementation is not involved in creating the duplicate, and the implementation cannot distinguish whether the original object reference or a duplicate was used to make a request. <P> Note that this method is not very useful in the Java platform, since memory management is handled by the VM. It is included for compliance with the CORBA APIs. <P> The method <code>_duplicate</code> may return this object reference itself.<DD><DL><DT><B>Returns:</B><DD>a duplicate of this object reference or this object reference         itself</DL></DD></DL><HR><A NAME="_release()"><!-- --></A><H3>_release</H3><PRE>public void <B>_release</B>()</PRE><DL><DD>Signals that the caller is done using this object reference, so internal ORB resources associated with this object reference can be released. Note that the object implementation is not involved in this operation, and other references to the same object are not affected.</DL><HR><A NAME="_get_interface_def()"><!-- --></A><H3>_get_interface_def</H3><PRE>public <A HREF="../../../org/omg/CORBA/Object.html">Object</A> <B>_get_interface_def</B>()</PRE><DL><DD>Obtains an <code>InterfaceDef</code> for the object implementation referenced by this object reference. The <code>InterfaceDef</code> object may be used to introspect on the methods, attributes, and other type information for the object referred to by this object reference.<DD><DL><DT><B>Returns:</B><DD>the <code>InterfaceDef</code> object in the Interface Repository         which provides type information about the object referred to by         this object reference</DL></DD></DL><HR><A NAME="_request(java.lang.String)"><!-- --></A><H3>_request</H3><PRE>public <A HREF="../../../org/omg/CORBA/Request.html">Request</A> <B>_request</B>(<A HREF="../../../java/lang/String.html">String</A>&nbsp;operation)</PRE><DL><DD>Creates a <code>Request</code> instance for use in the Dynamic Invocation Interface.<DD><DL><DT><B>Parameters:</B><DD><CODE>operation</CODE> - the name of the method to be invoked using the		              <code>Request</code> instance<DT><B>Returns:</B><DD>the newly-created <code>Request</code> instance</DL></DD></DL><HR><A NAME="_create_request(org.omg.CORBA.Context, java.lang.String, org.omg.CORBA.NVList, org.omg.CORBA.NamedValue)"><!-- --></A><H3>_create_request</H3><PRE>public <A HREF="../../../org/omg/CORBA/Request.html">Request</A> <B>_create_request</B>(<A HREF="../../../org/omg/CORBA/Context.html">Context</A>&nbsp;ctx,                               <A HREF="../../../java/lang/String.html">String</A>&nbsp;operation,                               <A HREF="../../../org/omg/CORBA/NVList.html">NVList</A>&nbsp;arg_list,                               <A HREF="../../../org/omg/CORBA/NamedValue.html">NamedValue</A>&nbsp;result)</PRE><DL><DD>Creates a <code>Request</code> instance initialized with the given context, method name, list of arguments, and container for the method's return value.<DD><DL><DT><B>Parameters:</B><DD><CODE>ctx</CODE> - a <code>Context</code> object containing                     a list of properties<DD><CODE>operation</CODE> - the name of the method to be invoked<DD><CODE>arg_list</CODE> - an <code>NVList</code> containing the actual arguments                     to the method being invoked<DD><CODE>result</CODE> - a <code>NamedValue</code> object to serve as a                     container for the method's return value<DT><B>Returns:</B><DD>the newly-created <code>Request</code> object<DT><B>See Also: </B><DD><A HREF="../../../org/omg/CORBA/Request.html"><CODE>Request</CODE></A>, <A HREF="../../../org/omg/CORBA/NVList.html"><CODE>NVList</CODE></A>, <A HREF="../../../org/omg/CORBA/NamedValue.html"><CODE>NamedValue</CODE></A></DL></DD></DL><HR><A NAME="_create_request(org.omg.CORBA.Context, java.lang.String, org.omg.CORBA.NVList, org.omg.CORBA.NamedValue, org.omg.CORBA.ExceptionList, org.omg.CORBA.ContextList)"><!-- --></A><H3>_create_request</H3><PRE>public <A HREF="../../../org/omg/CORBA/Request.html">Request</A> <B>_create_request</B>(<A HREF="../../../org/omg/CORBA/Context.html">Context</A>&nbsp;ctx,                               <A HREF="../../../java/lang/String.html">String</A>&nbsp;operation,                               <A HREF="../../../org/omg/CORBA/NVList.html">NVList</A>&nbsp;arg_list,                               <A HREF="../../../org/omg/CORBA/NamedValue.html">NamedValue</A>&nbsp;result,                               <A HREF="../../../org/omg/CORBA/ExceptionList.html">ExceptionList</A>&nbsp;exclist,                               <A HREF="../../../org/omg/CORBA/ContextList.html">ContextList</A>&nbsp;ctxlist)</PRE><DL><DD>Creates a <code>Request</code> instance initialized with the given context, method name, list of arguments, container for the method's return value, list of possible exceptions, and list of context strings needing to be resolved.<DD><DL><DT><B>Parameters:</B><DD><CODE>ctx</CODE> - a <code>Context</code> object containing                     a list of properties<DD><CODE>operation</CODE> - the name of the method to be invoked<DD><CODE>arg_list</CODE> - an <code>NVList</code> containing the actual arguments                     to the method being invoked<DD><CODE>result</CODE> - a <code>NamedValue</code> object to serve as a                     container for the method's return value<DD><CODE>exclist</CODE> - an <code>ExceptionList</code> object containing a                     list of possible exceptions the method can throw<DD><CODE>ctxlist</CODE> - a <code>ContextList</code> object containing a list of                     context strings that need to be resolved and sent with the 			     	<code>Request</code> instance<DT><B>Returns:</B><DD>the newly-created <code>Request</code> object<DT><B>See Also: </B><DD><A HREF="../../../org/omg/CORBA/Request.html"><CODE>Request</CODE></A>, <A HREF="../../../org/omg/CORBA/NVList.html"><CODE>NVList</CODE></A>, <A HREF="../../../org/omg/CORBA/NamedValue.html"><CODE>NamedValue</CODE></A>, <A HREF="../../../org/omg/CORBA/ExceptionList.html"><CODE>ExceptionList</CODE></A>, <A HREF="../../../org/omg/CORBA/ContextList.html"><CODE>ContextList</CODE></A></DL></DD></DL><HR><A NAME="_get_policy(int)"><!-- --></A><H3>_get_policy</H3><PRE>public <A HREF="../../../org/omg/CORBA/Policy.html">Policy</A> <B>_get_policy</B>(int&nbsp;policy_type)</PRE><DL><DD>Returns the <code>Policy</code> object of the specified type  which applies to this object.<DD><DL><DT><B>Parameters:</B><DD><CODE>policy_type</CODE> - the type of policy to be obtained<DT><B>Returns:</B><DD>A <code>Policy</code> object of the type specified by          the policy_type parameter<DT><B>Throws:</B><DD><CODE><A HREF="../../../org/omg/CORBA/BAD_PARAM.html">BAD_PARAM</A></CODE> - when the value of policy type  is not valid either because the specified type is not supported by this  ORB or because a policy object of that type is not associated with this  Object</DL></DD></DL><HR><A NAME="_get_domain_managers()"><!-- --></A><H3>_get_domain_managers</H3><PRE>public <A HREF="../../../org/omg/CORBA/DomainManager.html">DomainManager</A>[] <B>_get_domain_managers</B>()</PRE><DL><DD>Retrieves the <code>DomainManagers</code> of this object. This allows administration services (and applications) to retrieve the  domain managers, and hence the security and other policies applicable  to individual objects that are members of the domain.<DD><DL><DT><B>Returns:</B><DD>the list of immediately enclosing domain managers of this object.  At least one domain manager is always returned in the list since by  default each object is associated with at least one domain manager at  creation.</DL></DD></DL><HR><A NAME="_set_policy_override(org.omg.CORBA.Policy[], org.omg.CORBA.SetOverrideType)"><!-- --></A><H3>_set_policy_override</H3><PRE>public <A HREF="../../../org/omg/CORBA/Object.html">Object</A> <B>_set_policy_override</B>(<A HREF="../../../org/omg/CORBA/Policy.html">Policy</A>[]&nbsp;policies,                                   <A HREF="../../../org/omg/CORBA/SetOverrideType.html">SetOverrideType</A>&nbsp;set_add)</PRE><DL><DD>Returns a new <code>Object</code> with the given policies either replacing any existing policies in this <code>Object</code> or with the given policies added  to the existing ones, depending on the value of the given <code>SetOverrideType</code> object.<DD><DL><DT><B>Parameters:</B><DD><CODE>policies</CODE> - an array of <code>Policy</code> objects containing                 the policies to be added or to be used as replacements<DD><CODE>set_add</CODE> - either <code>SetOverrideType.SET_OVERRIDE</code>, indicating                that the given policies will replace any existing ones, or                <code>SetOverrideType.ADD_OVERRIDE</code>, indicating that                the given policies should be added to any existing ones<DT><B>Returns:</B><DD>a new <code>Object</code> with the given policies replacing         or added to those in this <code>Object</code></DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_bottom"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">  <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="class-use/Object.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&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-files/index-1.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>Java<sup><font size=-2>TM</font></sup>&nbsp;2&nbsp;Platform<br>Std.&nbsp;Ed. v1.3</b></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../../org/omg/CORBA/IRObjectOperations.html"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../org/omg/CORBA/OMGVMCID.html"><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>  &nbsp;&nbsp;<A HREF="Object.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY: &nbsp;INNER&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: &nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR><font size="-1"><a href="http://java.sun.com/cgi-bin/bugreport.cgi">Submit a bug or feature</a><br>For further API reference and developer documentation, see <a href="http://java.sun.com/products/jdk/1.3/devdocs-vs-specs.html">Java 2 SDK SE Developer Documentation</a>. That documentation  contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples. <p>Java, Java 2D, and JDBC are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.<br>Copyright 1993-2000 Sun Microsystems, Inc. 901 San Antonio Road<br>Palo Alto, California, 94303, U.S.A.  All Rights Reserved.</font></BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -