站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JDK 5 Documentation v1.4.1, Java 2 SDK 英文文档

Operation (Java 2 Platform SE v1.4.1) - JDK 5 Documentation v1.4.1, Java 2 SDK 英文文档

JavaTM 2 Platform
Std. Ed. v1.4.1

java.rmi.server
Class Operation

java.lang.Object
  |
  +--java.rmi.server.Operation

Deprecated. no replacement

public class Operation
extends Object

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.

Since:
JDK1.1

Constructor Summary
Operation(String op)
          Deprecated. no replacement
 
Method Summary
 String getOperation()
          Deprecated. no replacement
 String toString()
          Deprecated. no replacement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Operation

public Operation(String op)
Deprecated. no replacement

Creates a new Operation object.

Parameters:
op - method name
Since:
JDK1.1
Method Detail

getOperation

public String getOperation()
Deprecated. no replacement

Returns the name of the method.

Returns:
method name
Since:
JDK1.1

toString

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:
JDK1.1

JavaTM 2 Platform
Std. Ed. v1.4.1

Submit a bug or feature
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright 2002 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.