< prev index next >

src/java.corba/share/classes/org/omg/CORBA/LocalObject.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2000, 2001, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this --- 1,7 ---- /* ! * Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this
*** 69,79 **** * 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. ! * <P>Default implementation of the org.omg.CORBA.Object method. <P> * * @param that the object reference with which to check for equivalence * @return <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 --- 69,79 ---- * 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. ! * <P>Default implementation of the org.omg.CORBA.Object method. * * @param that the object reference with which to check for equivalence * @return <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
*** 85,95 **** } /** * Always returns <code>false</code>. * This method is the default implementation of the ! * <code>org.omg.CORBA.Object</code> method.<P> * * @return <code>false</code> */ public boolean _non_existent() { return false; --- 85,95 ---- } /** * Always returns <code>false</code>. * This method is the default implementation of the ! * <code>org.omg.CORBA.Object</code> method. * * @return <code>false</code> */ public boolean _non_existent() { return false;
*** 97,107 **** /** * Returns a hash value that is consistent for the * lifetime of the object, using the given number as the maximum. * This method is the default implementation of the ! * <code>org.omg.CORBA.Object</code> method.<P> * @param maximum an <code>int</code> identifying maximum value of * the hashcode * @return this instance's hashcode */ public int _hash(int maximum) { --- 97,108 ---- /** * Returns a hash value that is consistent for the * lifetime of the object, using the given number as the maximum. * This method is the default implementation of the ! * <code>org.omg.CORBA.Object</code> method. ! * * @param maximum an <code>int</code> identifying maximum value of * the hashcode * @return this instance's hashcode */ public int _hash(int maximum) {
*** 111,121 **** /** * Throws an <code>org.omg.CORBA.NO_IMPLEMENT</code> exception with * the message "This is a locally constrained object." This method * does not apply to local objects and is therefore not implemented. * This method is the default implementation of the ! * <code>org.omg.CORBA.Object</code> method.<P> * * @param repository_id a <code>String</code> * @return NO_IMPLEMENT because this is a locally constrained object * and this method does not apply to local objects * @exception NO_IMPLEMENT because this is a locally constrained object --- 112,122 ---- /** * Throws an <code>org.omg.CORBA.NO_IMPLEMENT</code> exception with * the message "This is a locally constrained object." This method * does not apply to local objects and is therefore not implemented. * This method is the default implementation of the ! * <code>org.omg.CORBA.Object</code> method. * * @param repository_id a <code>String</code> * @return NO_IMPLEMENT because this is a locally constrained object * and this method does not apply to local objects * @exception NO_IMPLEMENT because this is a locally constrained object
*** 129,139 **** /** * Throws an <code>org.omg.CORBA.NO_IMPLEMENT</code> exception with * the message "This is a locally constrained object." * This method is the default implementation of the ! * <code>org.omg.CORBA.Object</code> method.<P> * @return a duplicate of this <code>LocalObject</code> instance. * @exception NO_IMPLEMENT * @see <a href="package-summary.html#unimpl"><code>CORBA</code> package * comments for unimplemented features</a> */ --- 130,141 ---- /** * Throws an <code>org.omg.CORBA.NO_IMPLEMENT</code> exception with * the message "This is a locally constrained object." * This method is the default implementation of the ! * <code>org.omg.CORBA.Object</code> method. ! * * @return a duplicate of this <code>LocalObject</code> instance. * @exception NO_IMPLEMENT * @see <a href="package-summary.html#unimpl"><code>CORBA</code> package * comments for unimplemented features</a> */
*** 143,153 **** /** * Throws an <code>org.omg.CORBA.NO_IMPLEMENT</code> exception with * the message "This is a locally constrained object." * This method is the default implementation of the ! * <code>org.omg.CORBA.Object</code> method.<P> * @exception NO_IMPLEMENT * @see <a href="package-summary.html#unimpl"><code>CORBA</code> package * comments for unimplemented features</a> */ public void _release() { --- 145,156 ---- /** * Throws an <code>org.omg.CORBA.NO_IMPLEMENT</code> exception with * the message "This is a locally constrained object." * This method is the default implementation of the ! * <code>org.omg.CORBA.Object</code> method. ! * * @exception NO_IMPLEMENT * @see <a href="package-summary.html#unimpl"><code>CORBA</code> package * comments for unimplemented features</a> */ public void _release() {
*** 156,166 **** /** * Throws an <code>org.omg.CORBA.NO_IMPLEMENT</code> exception with * the message "This is a locally constrained object." * This method is the default implementation of the ! * <code>org.omg.CORBA.Object</code> method.<P> * * @param operation a <code>String</code> giving the name of an operation * to be performed by the request that is returned * @return a <code>Request</code> object with the given operation * @exception NO_IMPLEMENT --- 159,169 ---- /** * Throws an <code>org.omg.CORBA.NO_IMPLEMENT</code> exception with * the message "This is a locally constrained object." * This method is the default implementation of the ! * <code>org.omg.CORBA.Object</code> method. * * @param operation a <code>String</code> giving the name of an operation * to be performed by the request that is returned * @return a <code>Request</code> object with the given operation * @exception NO_IMPLEMENT
*** 173,183 **** /** * Throws an <code>org.omg.CORBA.NO_IMPLEMENT</code> exception with * the message "This is a locally constrained object." * This method is the default implementation of the ! * <code>org.omg.CORBA.Object</code> method.<P> * * @param ctx a <code>Context</code> object containing * a list of properties * @param operation the <code>String</code> representing the name of the * method to be invoked --- 176,186 ---- /** * Throws an <code>org.omg.CORBA.NO_IMPLEMENT</code> exception with * the message "This is a locally constrained object." * This method is the default implementation of the ! * <code>org.omg.CORBA.Object</code> method. * * @param ctx a <code>Context</code> object containing * a list of properties * @param operation the <code>String</code> representing the name of the * method to be invoked
*** 200,210 **** /** * Throws an <code>org.omg.CORBA.NO_IMPLEMENT</code> exception with * the message "This is a locally constrained object." * This method is the default implementation of the ! * <code>org.omg.CORBA.Object</code> method.<P> * * @param ctx a <code>Context</code> object containing * a list of properties * @param operation the name of the method to be invoked * @param arg_list an <code>NVList</code> containing the actual arguments --- 203,213 ---- /** * Throws an <code>org.omg.CORBA.NO_IMPLEMENT</code> exception with * the message "This is a locally constrained object." * This method is the default implementation of the ! * <code>org.omg.CORBA.Object</code> method. * * @param ctx a <code>Context</code> object containing * a list of properties * @param operation the name of the method to be invoked * @param arg_list an <code>NVList</code> containing the actual arguments
*** 235,245 **** /** * Throws an <code>org.omg.CORBA.NO_IMPLEMENT</code> exception with * the message "This is a locally constrained object." This method * does not apply to local objects and is therefore not implemented. * This method is the default implementation of the ! * <code>org.omg.CORBA.Object</code> method.<P> * @return NO_IMPLEMENT because this is a locally constrained object * and this method does not apply to local objects * @exception NO_IMPLEMENT because this is a locally constrained object * and this method does not apply to local objects * @see <a href="package-summary.html#unimpl"><code>CORBA</code> package --- 238,249 ---- /** * Throws an <code>org.omg.CORBA.NO_IMPLEMENT</code> exception with * the message "This is a locally constrained object." This method * does not apply to local objects and is therefore not implemented. * This method is the default implementation of the ! * <code>org.omg.CORBA.Object</code> method. ! * * @return NO_IMPLEMENT because this is a locally constrained object * and this method does not apply to local objects * @exception NO_IMPLEMENT because this is a locally constrained object * and this method does not apply to local objects * @see <a href="package-summary.html#unimpl"><code>CORBA</code> package
*** 252,262 **** /** * Throws an <code>org.omg.CORBA.NO_IMPLEMENT</code> exception with * the message "This is a locally constrained object." * This method is the default implementation of the ! * <code>org.omg.CORBA.Object</code> method.<P> * @exception NO_IMPLEMENT * @see <a href="package-summary.html#unimpl"><code>CORBA</code> package * comments for unimplemented features</a> */ public org.omg.CORBA.Object _get_interface_def() --- 256,267 ---- /** * Throws an <code>org.omg.CORBA.NO_IMPLEMENT</code> exception with * the message "This is a locally constrained object." * This method is the default implementation of the ! * <code>org.omg.CORBA.Object</code> method. ! * * @exception NO_IMPLEMENT * @see <a href="package-summary.html#unimpl"><code>CORBA</code> package * comments for unimplemented features</a> */ public org.omg.CORBA.Object _get_interface_def()
*** 273,283 **** /** * Throws an <code>org.omg.CORBA.NO_IMPLEMENT</code> exception with * the message "This is a locally constrained object." * This method is the default implementation of the ! * <code>org.omg.CORBA.Object</code> method.<P> * @return the ORB instance that created the Delegate contained in this * <code>ObjectImpl</code> * @exception NO_IMPLEMENT * @see <a href="package-summary.html#unimpl"><code>CORBA</code> package * comments for unimplemented features</a> --- 278,288 ---- /** * Throws an <code>org.omg.CORBA.NO_IMPLEMENT</code> exception with * the message "This is a locally constrained object." * This method is the default implementation of the ! * <code>org.omg.CORBA.Object</code> method. * @return the ORB instance that created the Delegate contained in this * <code>ObjectImpl</code> * @exception NO_IMPLEMENT * @see <a href="package-summary.html#unimpl"><code>CORBA</code> package * comments for unimplemented features</a>
*** 289,299 **** /** * Throws an <code>org.omg.CORBA.NO_IMPLEMENT</code> exception with * the message "This is a locally constrained object." This method * does not apply to local objects and is therefore not implemented. * This method is the default implementation of the ! * <code>org.omg.CORBA.Object</code> method.<P> * @param policy_type an <code>int</code> * @return NO_IMPLEMENT because this is a locally constrained object * and this method does not apply to local objects * @exception NO_IMPLEMENT because this is a locally constrained object * and this method does not apply to local objects --- 294,305 ---- /** * Throws an <code>org.omg.CORBA.NO_IMPLEMENT</code> exception with * the message "This is a locally constrained object." This method * does not apply to local objects and is therefore not implemented. * This method is the default implementation of the ! * <code>org.omg.CORBA.Object</code> method. ! * * @param policy_type an <code>int</code> * @return NO_IMPLEMENT because this is a locally constrained object * and this method does not apply to local objects * @exception NO_IMPLEMENT because this is a locally constrained object * and this method does not apply to local objects
*** 308,318 **** /** * Throws an <code>org.omg.CORBA.NO_IMPLEMENT</code> exception with * the message "This is a locally constrained object." This method * does not apply to local objects and is therefore not implemented. * This method is the default implementation of the ! * <code>org.omg.CORBA.Object</code> method.<P> * @exception NO_IMPLEMENT * @see <a href="package-summary.html#unimpl"><code>CORBA</code> package * comments for unimplemented features</a> */ public org.omg.CORBA.DomainManager[] _get_domain_managers() { --- 314,325 ---- /** * Throws an <code>org.omg.CORBA.NO_IMPLEMENT</code> exception with * the message "This is a locally constrained object." This method * does not apply to local objects and is therefore not implemented. * This method is the default implementation of the ! * <code>org.omg.CORBA.Object</code> method. ! * * @exception NO_IMPLEMENT * @see <a href="package-summary.html#unimpl"><code>CORBA</code> package * comments for unimplemented features</a> */ public org.omg.CORBA.DomainManager[] _get_domain_managers() {
*** 345,355 **** /** * Throws an <code>org.omg.CORBA.NO_IMPLEMENT</code> exception with * the message "This is a locally constrained object." * This method is the default implementation of the * <code>org.omg.CORBA.Object</code> method.<P> ! * Returns <code>true</code> for this <code>LocalObject</code> instance.<P> * @return <code>true</code> always * @exception NO_IMPLEMENT * @see <a href="package-summary.html#unimpl"><code>CORBA</code> package * comments for unimplemented features</a> */ --- 352,363 ---- /** * Throws an <code>org.omg.CORBA.NO_IMPLEMENT</code> exception with * the message "This is a locally constrained object." * This method is the default implementation of the * <code>org.omg.CORBA.Object</code> method.<P> ! * Returns <code>true</code> for this <code>LocalObject</code> instance. ! * * @return <code>true</code> always * @exception NO_IMPLEMENT * @see <a href="package-summary.html#unimpl"><code>CORBA</code> package * comments for unimplemented features</a> */
*** 359,369 **** /** * Throws an <code>org.omg.CORBA.NO_IMPLEMENT</code> exception with * the message "This is a locally constrained object." * This method is the default implementation of the ! * <code>org.omg.CORBA.Object</code> method.<P> * @param operation a <code>String</code> indicating which operation * to preinvoke * @param expectedType the class of the type of operation mentioned above * @return NO_IMPLEMENT because this is a locally constrained object * and this method does not apply to local objects --- 367,378 ---- /** * Throws an <code>org.omg.CORBA.NO_IMPLEMENT</code> exception with * the message "This is a locally constrained object." * This method is the default implementation of the ! * <code>org.omg.CORBA.Object</code> method. ! * * @param operation a <code>String</code> indicating which operation * to preinvoke * @param expectedType the class of the type of operation mentioned above * @return NO_IMPLEMENT because this is a locally constrained object * and this method does not apply to local objects
*** 379,389 **** /** * Throws an <code>org.omg.CORBA.NO_IMPLEMENT</code> exception with * the message "This is a locally constrained object." * This method is the default implementation of the ! * <code>org.omg.CORBA.Object</code> method.<P> * @param servant the servant object on which to post-invoke * @exception NO_IMPLEMENT * @see <a href="package-summary.html#unimpl"><code>CORBA</code> package * comments for unimplemented features</a> */ --- 388,399 ---- /** * Throws an <code>org.omg.CORBA.NO_IMPLEMENT</code> exception with * the message "This is a locally constrained object." * This method is the default implementation of the ! * <code>org.omg.CORBA.Object</code> method. ! * * @param servant the servant object on which to post-invoke * @exception NO_IMPLEMENT * @see <a href="package-summary.html#unimpl"><code>CORBA</code> package * comments for unimplemented features</a> */
*** 401,412 **** * the message "This is a locally constrained object." * This method is the default implementation of the * <code>org.omg.CORBA.Object</code> method. * <P>Called by a stub to obtain an OutputStream for * marshaling arguments. The stub must supply the operation name, ! * and indicate if a response is expected (i.e is this a oneway ! * call).<P> * @param operation the name of the operation being requested * @param responseExpected <code>true</code> if a response is expected, * <code>false</code> if it is a one-way call * @return NO_IMPLEMENT because this is a locally constrained object * and this method does not apply to local objects --- 411,422 ---- * the message "This is a locally constrained object." * This method is the default implementation of the * <code>org.omg.CORBA.Object</code> method. * <P>Called by a stub to obtain an OutputStream for * marshaling arguments. The stub must supply the operation name, ! * and indicate if a response is expected (i.e is this a oneway call). ! * * @param operation the name of the operation being requested * @param responseExpected <code>true</code> if a response is expected, * <code>false</code> if it is a one-way call * @return NO_IMPLEMENT because this is a locally constrained object * and this method does not apply to local objects
*** 431,441 **** * call. <code>_invoke</code> returns an <code>InputStream</code> which * contains the * marshaled reply. If an exception occurs, <code>_invoke</code> may throw an * <code>ApplicationException</code> object which contains an * <code>InputStream</code> from ! * which the user exception state may be unmarshaled.<P> * @param output the <code>OutputStream</code> to invoke * @return NO_IMPLEMENT because this is a locally constrained object * and this method does not apply to local objects * @throws ApplicationException If an exception occurs, * <code>_invoke</code> may throw an --- 441,452 ---- * call. <code>_invoke</code> returns an <code>InputStream</code> which * contains the * marshaled reply. If an exception occurs, <code>_invoke</code> may throw an * <code>ApplicationException</code> object which contains an * <code>InputStream</code> from ! * which the user exception state may be unmarshaled. ! * * @param output the <code>OutputStream</code> to invoke * @return NO_IMPLEMENT because this is a locally constrained object * and this method does not apply to local objects * @throws ApplicationException If an exception occurs, * <code>_invoke</code> may throw an
*** 468,478 **** * completed. The stub passes the <code>InputStream</code> returned by * <code>_invoke()</code> or * <code>ApplicationException.getInputStream()</code>. * A null * value may also be passed to <code>_releaseReply</code>, in which case the ! * method is a no-op.<P> * @param input the reply stream back to the ORB or null * @exception NO_IMPLEMENT * @see <a href="package-summary.html#unimpl"><code>CORBA</code> package * comments for unimplemented features</a> */ --- 479,490 ---- * completed. The stub passes the <code>InputStream</code> returned by * <code>_invoke()</code> or * <code>ApplicationException.getInputStream()</code>. * A null * value may also be passed to <code>_releaseReply</code>, in which case the ! * method is a no-op. ! * * @param input the reply stream back to the ORB or null * @exception NO_IMPLEMENT * @see <a href="package-summary.html#unimpl"><code>CORBA</code> package * comments for unimplemented features</a> */
*** 483,493 **** /** * Throws an <code>org.omg.CORBA.NO_IMPLEMENT</code> exception with * the message "This is a locally constrained object." This method * does not apply to local objects and is therefore not implemented. * This method is the default implementation of the ! * <code>org.omg.CORBA.Object</code> method.<P> * @return NO_IMPLEMENT because this is a locally constrained object * and this method does not apply to local objects * @exception NO_IMPLEMENT because this is a locally constrained object * and this method does not apply to local objects * @see <a href="package-summary.html#unimpl"><code>CORBA</code> package --- 495,506 ---- /** * Throws an <code>org.omg.CORBA.NO_IMPLEMENT</code> exception with * the message "This is a locally constrained object." This method * does not apply to local objects and is therefore not implemented. * This method is the default implementation of the ! * <code>org.omg.CORBA.Object</code> method. ! * * @return NO_IMPLEMENT because this is a locally constrained object * and this method does not apply to local objects * @exception NO_IMPLEMENT because this is a locally constrained object * and this method does not apply to local objects * @see <a href="package-summary.html#unimpl"><code>CORBA</code> package
< prev index next >