java.rmi.server
public class: Operation [javadoc |
source]
java.lang.Object
java.rmi.server.Operation
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 (stubs generated with
rmic -v1.2); hence, this class
is deprecated.
| Constructor: |
public Operation(String op) {
operation = op;
}
Creates a new Operation object. Parameters:
op - method name
- since:
JDK1.1 -
|
| Methods from java.lang.Object: |
|---|
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method from java.rmi.server.Operation Detail: |
public String getOperation() {
return operation;
} Deprecated! no - replacement
Deprecated!Returns the name of the method. |
public String toString() {
return operation;
} Deprecated! no - replacement
Deprecated!Returns the string representation of the operation. |