-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathOperation.java
More file actions
73 lines (68 loc) · 1.3 KB
/
Operation.java
File metadata and controls
73 lines (68 loc) · 1.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
/*
* Copyright (c) 1996, 2004, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
package java.rmi.server;
/**
* An <code>Operation</code> contains a description of a Java method.
* <code>Operation</code> objects were used in JDK1.1 version stubs and
* skeletons. The <code>Operation</code> class is not needed for 1.2 style
* stubs (stubs generated with <code>rmic -v1.2</code>); hence, this class
* is deprecated.
*
* @since JDK1.1
* @deprecated no replacement
*/
@Deprecated
public class Operation {
private String operation;
/**
* Creates a new Operation object.
* @param op method name
* @deprecated no replacement
* @since JDK1.1
*/
@Deprecated
public Operation(String op) {
operation = op;
}
/**
* Returns the name of the method.
* @return method name
* @deprecated no replacement
* @since JDK1.1
*/
@Deprecated
public String getOperation() {
return operation;
}
/**
* Returns the string representation of the operation.
* @deprecated no replacement
* @since JDK1.1
*/
@Deprecated
public String toString() {
return operation;
}
}