--- old/src/java.corba/share/classes/org/omg/CORBA/LocalObject.java 2015-04-07 20:40:32.254505472 +0400 +++ new/src/java.corba/share/classes/org/omg/CORBA/LocalObject.java 2015-04-07 20:40:32.054505480 +0400 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2000, 2001, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -71,7 +71,7 @@ * to attempt determination of whether two distinct object references * refer to the same object, since such determination could be impractically * expensive. - *
Default implementation of the org.omg.CORBA.Object method.
+ *
Default implementation of the org.omg.CORBA.Object method.
*
* @param that the object reference with which to check for equivalence
* @return true
if this object reference is known to be
@@ -87,7 +87,7 @@
/**
* Always returns false
.
* This method is the default implementation of the
- * org.omg.CORBA.Object
method.
+ * org.omg.CORBA.Object
method.
*
* @return false
*/
@@ -99,9 +99,10 @@
* 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
- * org.omg.CORBA.Object
method.
+ * org.omg.CORBA.Object
method.
+ *
* @param maximum an int
identifying maximum value of
- * the hashcode
+ * the hashcode
* @return this instance's hashcode
*/
public int _hash(int maximum) {
@@ -113,7 +114,7 @@
* 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
- * org.omg.CORBA.Object
method.
+ * org.omg.CORBA.Object
method.
*
* @param repository_id a String
* @return NO_IMPLEMENT because this is a locally constrained object
@@ -131,7 +132,8 @@
* Throws an org.omg.CORBA.NO_IMPLEMENT
exception with
* the message "This is a locally constrained object."
* This method is the default implementation of the
- * org.omg.CORBA.Object
method.
+ *
+ *
+ *
+ *
+ *
+ *
+ *
+ *
+ *
+ *
- * Returns
+ * Returns
+ *
+ * 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).
+ * 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
+ * which the user exception state may be unmarshaled.
+ *
* @param output the
+ * method is a no-op.
+ *
* @param input the reply stream back to the ORB or null
* @exception NO_IMPLEMENT
* @see
+ * org.omg.CORBA.Object
method.
+ *
* @return a duplicate of this LocalObject
instance.
* @exception NO_IMPLEMENT
* @see CORBA
package
@@ -145,7 +147,8 @@
* Throws an org.omg.CORBA.NO_IMPLEMENT
exception with
* the message "This is a locally constrained object."
* This method is the default implementation of the
- * org.omg.CORBA.Object
method.org.omg.CORBA.Object
method.
+ *
* @exception NO_IMPLEMENT
* @see CORBA
package
* comments for unimplemented features
@@ -158,7 +161,7 @@
* Throws an org.omg.CORBA.NO_IMPLEMENT
exception with
* the message "This is a locally constrained object."
* This method is the default implementation of the
- * org.omg.CORBA.Object
method.org.omg.CORBA.Object
method.
*
* @param operation a String
giving the name of an operation
* to be performed by the request that is returned
@@ -175,7 +178,7 @@
* Throws an org.omg.CORBA.NO_IMPLEMENT
exception with
* the message "This is a locally constrained object."
* This method is the default implementation of the
- * org.omg.CORBA.Object
method.org.omg.CORBA.Object
method.
*
* @param ctx a Context
object containing
* a list of properties
@@ -202,7 +205,7 @@
* Throws an org.omg.CORBA.NO_IMPLEMENT
exception with
* the message "This is a locally constrained object."
* This method is the default implementation of the
- * org.omg.CORBA.Object
method.org.omg.CORBA.Object
method.
*
* @param ctx a Context
object containing
* a list of properties
@@ -237,7 +240,8 @@
* 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
- * org.omg.CORBA.Object
method.org.omg.CORBA.Object
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
@@ -254,7 +258,8 @@
* Throws an org.omg.CORBA.NO_IMPLEMENT
exception with
* the message "This is a locally constrained object."
* This method is the default implementation of the
- * org.omg.CORBA.Object
method.org.omg.CORBA.Object
method.
+ *
* @exception NO_IMPLEMENT
* @see CORBA
package
* comments for unimplemented features
@@ -275,7 +280,7 @@
* Throws an org.omg.CORBA.NO_IMPLEMENT
exception with
* the message "This is a locally constrained object."
* This method is the default implementation of the
- * org.omg.CORBA.Object
method.org.omg.CORBA.Object
method.
* @return the ORB instance that created the Delegate contained in this
* ObjectImpl
* @exception NO_IMPLEMENT
@@ -291,7 +296,8 @@
* 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
- * org.omg.CORBA.Object
method.org.omg.CORBA.Object
method.
+ *
* @param policy_type an int
* @return NO_IMPLEMENT because this is a locally constrained object
* and this method does not apply to local objects
@@ -310,7 +316,8 @@
* 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
- * org.omg.CORBA.Object
method.org.omg.CORBA.Object
method.
+ *
* @exception NO_IMPLEMENT
* @see CORBA
package
* comments for unimplemented features
@@ -347,7 +354,8 @@
* the message "This is a locally constrained object."
* This method is the default implementation of the
* org.omg.CORBA.Object
method.true
for this LocalObject
instance.true
for this LocalObject
instance.
+ *
* @return true
always
* @exception NO_IMPLEMENT
* @see CORBA
package
@@ -361,7 +369,8 @@
* Throws an org.omg.CORBA.NO_IMPLEMENT
exception with
* the message "This is a locally constrained object."
* This method is the default implementation of the
- * org.omg.CORBA.Object
method.org.omg.CORBA.Object
method.
+ *
* @param operation a String
indicating which operation
* to preinvoke
* @param expectedType the class of the type of operation mentioned above
@@ -381,7 +390,8 @@
* Throws an org.omg.CORBA.NO_IMPLEMENT
exception with
* the message "This is a locally constrained object."
* This method is the default implementation of the
- * org.omg.CORBA.Object
method.org.omg.CORBA.Object
method.
+ *
* @param servant the servant object on which to post-invoke
* @exception NO_IMPLEMENT
* @see CORBA
package
@@ -403,8 +413,8 @@
* org.omg.CORBA.Object
method.
* true
if a response is expected,
* false
if it is a one-way call
@@ -433,7 +443,8 @@
* marshaled reply. If an exception occurs, _invoke
may throw an
* ApplicationException
object which contains an
* InputStream
from
- * which the user exception state may be unmarshaled.OutputStream
to invoke
* @return NO_IMPLEMENT because this is a locally constrained object
* and this method does not apply to local objects
@@ -470,7 +481,8 @@
* ApplicationException.getInputStream()
.
* A null
* value may also be passed to _releaseReply
, in which case the
- * method is a no-op.CORBA
package
@@ -485,7 +497,8 @@
* 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
- * org.omg.CORBA.Object
method.org.omg.CORBA.Object
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