W3cubDocs

/OpenJDK 21

Class Operation

java.lang.Object
java.rmi.server.Operation
@Deprecated public class Operation extends Object
Deprecated.
no replacement
An Operation contains a description of a Java method. Operation objects were used in JDK1.1 version stubs and skeletons. The Operation class is not needed for 1.2 style stubs; hence, this class is deprecated.
Since:
1.1

Constructor Summary

Constructor Description
Operation(String op)
Deprecated.
no replacement

Method Summary

Modifier and Type Method Description
String getOperation()
Deprecated.
no replacement
String toString()
Deprecated.
no replacement

Methods declared in class java.lang.Object

clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Constructor Details

Operation

@Deprecated public Operation(String op)
Deprecated.
no replacement
Creates a new Operation object.
Parameters:
op - method name
Since:
1.1

Method Details

getOperation

@Deprecated public String getOperation()
Deprecated.
no replacement
Returns the name of the method.
Returns:
method name
Since:
1.1

toString

@Deprecated public String toString()
Deprecated.
no replacement
Returns the string representation of the operation.
Overrides:
toString in class Object
Returns:
a string representation of the object.
Since:
1.1

© 1993, 2023, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/21/docs/api/java.rmi/java/rmi/server/Operation.html