📄 objectimpl.html
字号:
<PRE>public boolean <B>_non_existent</B>()</PRE><DL><DD>default implementation of the org.omg.CORBA.Object method.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../../org/omg/CORBA/Object.html#_non_existent()">_non_existent</A></CODE> in interface <CODE><A HREF="../../../../org/omg/CORBA/Object.html">Object</A></CODE></DL></DD><DD>Following copied from interface: <CODE>org.omg.CORBA.Object</CODE></DD><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 maximum)</PRE><DL><DD>default implementation of the org.omg.CORBA.Object method.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../../org/omg/CORBA/Object.html#_hash(int)">_hash</A></CODE> in interface <CODE><A HREF="../../../../org/omg/CORBA/Object.html">Object</A></CODE></DL></DD><DD>Following copied from interface: <CODE>org.omg.CORBA.Object</CODE></DD><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="_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> operation)</PRE><DL><DD>default implementation of the org.omg.CORBA.Object method.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../../org/omg/CORBA/Object.html#_request(java.lang.String)">_request</A></CODE> in interface <CODE><A HREF="../../../../org/omg/CORBA/Object.html">Object</A></CODE></DL></DD><DD>Following copied from interface: <CODE>org.omg.CORBA.Object</CODE></DD><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> ctx, <A HREF="../../../../java/lang/String.html">String</A> operation, <A HREF="../../../../org/omg/CORBA/NVList.html">NVList</A> arg_list, <A HREF="../../../../org/omg/CORBA/NamedValue.html">NamedValue</A> result)</PRE><DL><DD>default implementation of the org.omg.CORBA.Object method.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../../org/omg/CORBA/Object.html#_create_request(org.omg.CORBA.Context, java.lang.String, org.omg.CORBA.NVList, org.omg.CORBA.NamedValue)">_create_request</A></CODE> in interface <CODE><A HREF="../../../../org/omg/CORBA/Object.html">Object</A></CODE></DL></DD><DD>Following copied from interface: <CODE>org.omg.CORBA.Object</CODE></DD><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> ctx, <A HREF="../../../../java/lang/String.html">String</A> operation, <A HREF="../../../../org/omg/CORBA/NVList.html">NVList</A> arg_list, <A HREF="../../../../org/omg/CORBA/NamedValue.html">NamedValue</A> result, <A HREF="../../../../org/omg/CORBA/ExceptionList.html">ExceptionList</A> exceptions, <A HREF="../../../../org/omg/CORBA/ContextList.html">ContextList</A> contexts)</PRE><DL><DD>default implementation of the org.omg.CORBA.Object method.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../../org/omg/CORBA/Object.html#_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)">_create_request</A></CODE> in interface <CODE><A HREF="../../../../org/omg/CORBA/Object.html">Object</A></CODE></DL></DD><DD>Following copied from interface: <CODE>org.omg.CORBA.Object</CODE></DD><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_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>default implementation of the org.omg.CORBA.Object method.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../../org/omg/CORBA/Object.html#_get_interface_def()">_get_interface_def</A></CODE> in interface <CODE><A HREF="../../../../org/omg/CORBA/Object.html">Object</A></CODE></DL></DD><DD>Following copied from interface: <CODE>org.omg.CORBA.Object</CODE></DD><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="_orb()"><!-- --></A><H3>_orb</H3><PRE>public <A HREF="../../../../org/omg/CORBA/ORB.html">ORB</A> <B>_orb</B>()</PRE><DL><DD>Provides reference to the ORB associated with this object and its delegate.<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the ORB instance which created the Delegate contained in this ObjectImpl.</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 policy_type)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../org/omg/CORBA/Object.html">Object</A></CODE></B></DD><DD>Returns the <code>Policy</code> object of the specified type which applies to this object.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../../org/omg/CORBA/Object.html#_get_policy(int)">_get_policy</A></CODE> in interface <CODE><A HREF="../../../../org/omg/CORBA/Object.html">Object</A></CODE></DL></DD><DD>Following copied from interface: <CODE>org.omg.CORBA.Object</CODE></DD><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><B>Description copied from interface: <CODE><A HREF="../../../../org/omg/CORBA/Object.html">Object</A></CODE></B></DD><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>Specified by: </B><DD><CODE><A HREF="../../../../org/omg/CORBA/Object.html#_get_domain_managers()">_get_domain_managers</A></CODE> in interface <CODE><A HREF="../../../../org/omg/CORBA/Object.html">Object</A></CODE></DL></DD><DD>Following copied from interface: <CODE>org.omg.CORBA.Object</CODE></DD><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>[] policies, <A HREF="../../../../org/omg/CORBA/SetOverrideType.html">SetOverrideType</A> set_add)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../org/omg/CORBA/Object.html">Object</A></CODE></B></DD><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>Specified by: </B><DD><CODE><A HREF="../../../../org/omg/CORBA/Object.html#_set_policy_override(org.omg.CORBA.Policy[], org.omg.CORBA.SetOverrideType)">_set_policy_override</A></CODE> in interface <CODE><A HREF="../../../../org/omg/CORBA/Object.html">Object</A></CODE></DL></DD><DD>Following copied from interface: <CODE>org.omg.CORBA.Object</CODE></DD><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><HR><A NAME="_is_local()"><!-- --></A><H3>_is_local</H3><PRE>public boolean <B>_is_local</B>()</PRE><DL><DD>Checks whether this object is process-local.<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>true if this object is process-local.</DL></DD></DL><HR><A NAME="_servant_preinvoke(java.lang.String, java.lang.Class)"><!-- --></A><H3>_servant_preinvoke</H3><PRE>public <A HREF="../../../../org/omg/CORBA/portable/ServantObject.html">ServantObject</A> <B>_servant_preinvoke</B>(<A HREF="../../../../java/lang/String.html">String</A> operation, <A HREF="../../../../java/lang/Class.html">Class</A> expectedType)</PRE><DL><DD>Returns a Java reference to the servant which should be used for this request. _servant_preinvoke() is invoked by a local stub. If a ServantObject object is returned, then its servant field has been set to an object of the expected type (Note: the object may or may not be the actual servant instance). The local stub may cast the servant field to the expected type, and then invoke the operation directly. The ServantRequest object is valid for only one invocation, and cannot be used for more than one invocation.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>operation</CODE> - a string containing the operation name. The operation name corresponds to the operation name as it would be encoded in a GIOP request.<DD><CODE>expectedType</CODE> - a Class object representing the expected type of the servant. The expected type is the Class object associated with the operations class of the stub's interface (e.g. A stub for an interface Foo, would pass the Class object for the FooOperations interface).<DT><B>Returns:</B><DD>a ServantObject object. The method may return a null value if it does not wish to support this optimization (e.g. due to security, transactions, etc). The method must return null if the servant is not of the expected type.</DL></DD></DL><HR><A NAME="_servant_postinvoke(org.omg.CORBA.portable.ServantObject)"><!-- --></A><H3>_servant_postinvoke</H3><PRE>public void <B>_servant_postinvoke</B>(<A HREF="../../../../org/omg/CORBA/portable/ServantObject.html">ServantObject</A> servant)</PRE>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -