📄 delegate.html
字号:
<DT><B>Parameters:</B><DD><CODE>obj</CODE> - The object reference whose duplicate needs to be returned<DT><B>Returns:</B><DD>the duplicate object reference</DL></DD></DL><HR><A NAME="release(org.omg.CORBA.Object)"><!-- --></A><H3>release</H3><PRE>public abstract void <B>release</B>(<A HREF="../../../../org/omg/CORBA/Object.html">Object</A> obj)</PRE><DL><DD>Releases resources associated with the object reference provided.<DD><DL><DT><B>Parameters:</B><DD><CODE>obj</CODE> - The object reference whose resources need to be released</DL></DD></DL><HR><A NAME="is_a(org.omg.CORBA.Object, java.lang.String)"><!-- --></A><H3>is_a</H3><PRE>public abstract boolean <B>is_a</B>(<A HREF="../../../../org/omg/CORBA/Object.html">Object</A> obj, <A HREF="../../../../java/lang/String.html">String</A> repository_id)</PRE><DL><DD>Checks if the object reference is an instance of the given interface.<DD><DL><DT><B>Parameters:</B><DD><CODE>obj</CODE> - The object reference to be checked.<DD><CODE>repository_id</CODE> - The repository identifier of the interface to check against.<DT><B>Returns:</B><DD>true if the object reference supports the interface</DL></DD></DL><HR><A NAME="non_existent(org.omg.CORBA.Object)"><!-- --></A><H3>non_existent</H3><PRE>public abstract boolean <B>non_existent</B>(<A HREF="../../../../org/omg/CORBA/Object.html">Object</A> obj)</PRE><DL><DD>Determines whether the server object for the object reference has been destroyed.<DD><DL><DT><B>Parameters:</B><DD><CODE>obj</CODE> - The object reference which delegated to this delegate.<DT><B>Returns:</B><DD>true if the ORB knows authoritatively that the server object does not exist, false otherwise</DL></DD></DL><HR><A NAME="is_equivalent(org.omg.CORBA.Object, org.omg.CORBA.Object)"><!-- --></A><H3>is_equivalent</H3><PRE>public abstract boolean <B>is_equivalent</B>(<A HREF="../../../../org/omg/CORBA/Object.html">Object</A> obj, <A HREF="../../../../org/omg/CORBA/Object.html">Object</A> other)</PRE><DL><DD>Determines if the two object references are equivalent.<DD><DL><DT><B>Parameters:</B><DD><CODE>obj</CODE> - The object reference which delegated to this delegate.<DD><CODE>other</CODE> - The object reference to check equivalence against.<DT><B>Returns:</B><DD>true if the objects are CORBA-equivalent.</DL></DD></DL><HR><A NAME="hash(org.omg.CORBA.Object, int)"><!-- --></A><H3>hash</H3><PRE>public abstract int <B>hash</B>(<A HREF="../../../../org/omg/CORBA/Object.html">Object</A> obj, int max)</PRE><DL><DD>Returns an ORB-internal identifier (hashcode) for this object reference.<DD><DL><DT><B>Parameters:</B><DD><CODE>obj</CODE> - The object reference which delegated to this delegate.<DD><CODE>max</CODE> - specifies an upper bound on the hash value returned by the ORB.<DT><B>Returns:</B><DD>ORB-internal hash identifier for object reference</DL></DD></DL><HR><A NAME="request(org.omg.CORBA.Object, java.lang.String)"><!-- --></A><H3>request</H3><PRE>public abstract <A HREF="../../../../org/omg/CORBA/Request.html">Request</A> <B>request</B>(<A HREF="../../../../org/omg/CORBA/Object.html">Object</A> obj, <A HREF="../../../../java/lang/String.html">String</A> operation)</PRE><DL><DD>Creates a Request instance for use in the Dynamic Invocation Interface.<DD><DL><DT><B>Parameters:</B><DD><CODE>obj</CODE> - The object reference which delegated to this delegate.<DD><CODE>operation</CODE> - The name of the operation to be invoked using the Request instance.<DT><B>Returns:</B><DD>the created Request instance</DL></DD></DL><HR><A NAME="create_request(org.omg.CORBA.Object, org.omg.CORBA.Context, java.lang.String, org.omg.CORBA.NVList, org.omg.CORBA.NamedValue)"><!-- --></A><H3>create_request</H3><PRE>public abstract <A HREF="../../../../org/omg/CORBA/Request.html">Request</A> <B>create_request</B>(<A HREF="../../../../org/omg/CORBA/Object.html">Object</A> obj, <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>Creates a Request instance for use in the Dynamic Invocation Interface.<DD><DL><DT><B>Parameters:</B><DD><CODE>obj</CODE> - The object reference which delegated to this delegate.<DD><CODE>ctx</CODE> - The context to be used.<DD><CODE>operation</CODE> - The name of the operation to be invoked.<DD><CODE>arg_list</CODE> - The arguments to the operation in the form of an NVList.<DD><CODE>result</CODE> - A container for the result as a NamedValue.<DT><B>Returns:</B><DD>The created Request object.</DL></DD></DL><HR><A NAME="create_request(org.omg.CORBA.Object, 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 abstract <A HREF="../../../../org/omg/CORBA/Request.html">Request</A> <B>create_request</B>(<A HREF="../../../../org/omg/CORBA/Object.html">Object</A> obj, <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> exclist, <A HREF="../../../../org/omg/CORBA/ContextList.html">ContextList</A> ctxlist)</PRE><DL><DD>Creates a Request instance for use in the Dynamic Invocation Interface.<DD><DL><DT><B>Parameters:</B><DD><CODE>obj</CODE> - The object reference which delegated to this delegate.<DD><CODE>ctx</CODE> - The context to be used.<DD><CODE>operation</CODE> - The name of the operation to be invoked.<DD><CODE>arg_list</CODE> - The arguments to the operation in the form of an NVList.<DD><CODE>result</CODE> - A container for the result as a NamedValue.<DD><CODE>exclist</CODE> - A list of possible exceptions the operation can throw.<DD><CODE>ctxlist</CODE> - A list of context strings that need to be resolved and sent with the Request.<DT><B>Returns:</B><DD>The created Request object.</DL></DD></DL><HR><A NAME="orb(org.omg.CORBA.Object)"><!-- --></A><H3>orb</H3><PRE>public <A HREF="../../../../org/omg/CORBA/ORB.html">ORB</A> <B>orb</B>(<A HREF="../../../../org/omg/CORBA/Object.html">Object</A> obj)</PRE><DL><DD>Provides a reference to the orb associated with its parameter.<DD><DL><DT><B>Parameters:</B><DD><CODE>obj</CODE> - the object reference which delegated to this delegate.<DT><B>Returns:</B><DD>the associated orb.<DT><B>See Also: </B><DD><a href="package-summary.html#unimpl"><code>portable</code> package comments for unimplemented features</a></DL></DD></DL><HR><A NAME="get_policy(org.omg.CORBA.Object, int)"><!-- --></A><H3>get_policy</H3><PRE>public <A HREF="../../../../org/omg/CORBA/Policy.html">Policy</A> <B>get_policy</B>(<A HREF="../../../../org/omg/CORBA/Object.html">Object</A> self, int 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>self</CODE> - The object reference which delegated to this delegate.<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> - raised 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.<DT><B>See Also: </B><DD><a href="package-summary.html#unimpl"><code>portable</code> package comments for unimplemented features</a></DL></DD></DL><HR><A NAME="get_domain_managers(org.omg.CORBA.Object)"><!-- --></A><H3>get_domain_managers</H3><PRE>public <A HREF="../../../../org/omg/CORBA/DomainManager.html">DomainManager</A>[] <B>get_domain_managers</B>(<A HREF="../../../../org/omg/CORBA/Object.html">Object</A> self)</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>Parameters:</B><DD><CODE>self</CODE> - The object reference which delegated to this delegate.<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.<DT><B>See Also: </B><DD><a href="package-summary.html#unimpl"><code>portable</code> package comments for unimplemented features</a></DL></DD></DL><HR><A NAME="set_policy_override(org.omg.CORBA.Object, 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/Object.html">Object</A> self, <A HREF="../../../../org/omg/CORBA/Policy.html">Policy</A>[] policies, <A HREF="../../../../org/omg/CORBA/SetOverrideType.html">SetOverrideType</A> set_add)</PRE><DL><DD>Associates the policies passed in with a newly created object reference that it returns. Only certain policies that pertain to the invocation of an operation at the client end can be overridden using this operation. Attempts to override any other policy will result in the raising of the CORBA::NO_PERMISSION exception.<DD><DL><DT><B>Parameters:</B><DD><CODE>self</CODE> - The object reference which delegated to this delegate.<DD><CODE>policies</CODE> - A sequence of references to Policy objects.<DD><CODE>set_add</CODE> - Indicates whether these policies should be added onto any otheroverrides that already exist (ADD_OVERRIDE) in the object reference, or they should be added to a clean override free object reference (SET_OVERRIDE).<DT><B>Returns:</B><DD>A new object reference with the new policies associated with it.<DT><B>See Also: </B><DD><a href="package-summary.html#unimpl"><code>portable</code> package comments for unimplemented features</a></DL></DD></DL><HR><A NAME="is_local(org.omg.CORBA.Object)"><!-- --></A><H3>is_local</H3><PRE>public boolean <B>is_local</B>(<A HREF="../../../../org/omg/CORBA/Object.html">Object</A> self)</PRE><DL><DD>Returns true if this object is implemented by a local servant.<DD><DL><DT><B>Parameters:</B><DD><CODE>self</CODE> - The object reference which delegated to this delegate.<DT><B>Returns:</B><DD>true only if the servant incarnating this object is located in this Java VM. Return false if the servant is not local or the ORB does not support local stubs for this particular servant. The default
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -