ManagerPOA.java
9.53 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
/*
* Decompiled with CFR 0_118.
*/
package com.adobe.service;
import com.adobe.service.*;
import com.adobe.service.ManagerPackage.JdkLogEntry;
import com.adobe.service.ManagerPackage.JdkLogEntrySeqHelper;
import com.adobe.service.ManagerPackage.LogEntry;
import com.adobe.service.ManagerPackage.LogEntrySeqHelper;
import org.omg.CORBA.BAD_OPERATION;
import org.omg.CORBA.ORB;
import org.omg.CORBA.SystemException;
import org.omg.CORBA.portable.InputStream;
import org.omg.CORBA.portable.InvokeHandler;
import org.omg.CORBA.portable.OutputStream;
import org.omg.CORBA.portable.ResponseHandler;
import org.omg.PortableServer.POA;
import org.omg.PortableServer.Servant;
import java.util.Hashtable;
public abstract class ManagerPOA
extends Servant
implements InvokeHandler,
ManagerOperations {
private static final Hashtable m_opsHash = new Hashtable();
private String[] ids = new String[]{"IDL:com/adobe/service/Manager:1.0"};
public Manager _this() {
return ManagerHelper.narrow(this._this_object());
}
public Manager _this(ORB orb) {
return ManagerHelper.narrow(this._this_object(orb));
}
public OutputStream _invoke(String method, InputStream _input, ResponseHandler handler) throws SystemException {
OutputStream _out = null;
Integer opsIndex = (Integer)m_opsHash.get(method);
if (null == opsIndex) {
throw new BAD_OPERATION(method + " not found");
}
switch (opsIndex) {
case 0: {
try {
String _arg0 = _input.read_wstring();
String _arg1 = _input.read_wstring();
_out = handler.createReply();
_out.write_wstring(this.getDeployPropertyString(_arg0, _arg1));
}
catch (NoSuchPropertyException _ex0) {
_out = handler.createExceptionReply();
NoSuchPropertyExceptionHelper.write(_out, _ex0);
}
break;
}
case 1: {
try {
String _arg0 = _input.read_wstring();
_out = handler.createReply();
_out.write_float(this.getConfigPropertyFloat(_arg0));
}
catch (NoSuchPropertyException _ex0) {
_out = handler.createExceptionReply();
NoSuchPropertyExceptionHelper.write(_out, _ex0);
}
break;
}
case 2: {
String _arg0 = _input.read_string();
int _arg1 = _input.read_long();
_out = handler.createReply();
this.signalIntValue(_arg0, _arg1);
break;
}
case 3: {
String _arg0 = _input.read_wstring();
_out = handler.createReply();
_out.write_long(this.getJdkLogLevel(_arg0));
break;
}
case 4: {
String _arg0 = _input.read_string();
String _arg1 = _input.read_wstring();
_out = handler.createReply();
this.signalStringValue(_arg0, _arg1);
break;
}
case 5: {
try {
String _arg0 = _input.read_wstring();
boolean _arg1 = _input.read_boolean();
_out = handler.createReply();
this.setConfigPropertyBoolean(_arg0, _arg1);
}
catch (NoSuchPropertyException _ex0) {
_out = handler.createExceptionReply();
NoSuchPropertyExceptionHelper.write(_out, _ex0);
}
break;
}
case 6: {
_out = handler.createReply();
_out.write_wstring(this.getNativeDirPath());
break;
}
case 7: {
_out = handler.createReply();
_out.write_wstring(this.getPersistentDirPath());
break;
}
case 8: {
String _arg0 = _input.read_string();
_out = handler.createReply();
this.signalEvent(_arg0);
break;
}
case 9: {
try {
String _arg0 = _input.read_wstring();
_out = handler.createReply();
_out.write_long(this.getConfigPropertyInt(_arg0));
}
catch (NoSuchPropertyException _ex0) {
_out = handler.createExceptionReply();
NoSuchPropertyExceptionHelper.write(_out, _ex0);
}
break;
}
case 10: {
JdkLogEntry[] _arg0 = JdkLogEntrySeqHelper.read(_input);
_out = handler.createReply();
this.logJdk(_arg0);
break;
}
case 11: {
try {
String _arg0 = _input.read_wstring();
_out = handler.createReply();
_out.write_boolean(this.getConfigPropertyBoolean(_arg0));
}
catch (NoSuchPropertyException _ex0) {
_out = handler.createExceptionReply();
NoSuchPropertyExceptionHelper.write(_out, _ex0);
}
break;
}
case 12: {
try {
String _arg0 = _input.read_wstring();
_out = handler.createReply();
_out.write_wstring(this.getConfigPropertyString(_arg0));
}
catch (NoSuchPropertyException _ex0) {
_out = handler.createExceptionReply();
NoSuchPropertyExceptionHelper.write(_out, _ex0);
}
break;
}
case 13: {
_out = handler.createReply();
_out.write_wstring(this.getProcessTempDirPath());
break;
}
case 14: {
try {
String _arg0 = _input.read_wstring();
String _arg1 = _input.read_wstring();
_out = handler.createReply();
this.setConfigPropertyString(_arg0, _arg1);
}
catch (NoSuchPropertyException _ex0) {
_out = handler.createExceptionReply();
NoSuchPropertyExceptionHelper.write(_out, _ex0);
}
break;
}
case 15: {
try {
String _arg0 = _input.read_wstring();
float _arg1 = _input.read_float();
_out = handler.createReply();
this.setConfigPropertyFloat(_arg0, _arg1);
}
catch (NoSuchPropertyException _ex0) {
_out = handler.createExceptionReply();
NoSuchPropertyExceptionHelper.write(_out, _ex0);
}
break;
}
case 16: {
ControlAgent _arg0 = ControlAgentHelper.read(_input);
_out = handler.createReply();
this.registerController(_arg0);
break;
}
case 17: {
String _arg0 = _input.read_wstring();
_out = handler.createReply();
_out.write_Object(this.getResource(_arg0));
break;
}
case 18: {
try {
String _arg0 = _input.read_wstring();
int _arg1 = _input.read_long();
_out = handler.createReply();
this.setConfigPropertyInt(_arg0, _arg1);
}
catch (NoSuchPropertyException _ex0) {
_out = handler.createExceptionReply();
NoSuchPropertyExceptionHelper.write(_out, _ex0);
}
break;
}
case 19: {
LogEntry[] _arg0 = LogEntrySeqHelper.read(_input);
_out = handler.createReply();
this.log(_arg0);
break;
}
}
return _out;
}
public String[] _all_interfaces(POA poa, byte[] obj_id) {
return this.ids;
}
static {
m_opsHash.put("getDeployPropertyString", new Integer(0));
m_opsHash.put("getConfigPropertyFloat", new Integer(1));
m_opsHash.put("signalIntValue", new Integer(2));
m_opsHash.put("getJdkLogLevel", new Integer(3));
m_opsHash.put("signalStringValue", new Integer(4));
m_opsHash.put("setConfigPropertyBoolean", new Integer(5));
m_opsHash.put("getNativeDirPath", new Integer(6));
m_opsHash.put("getPersistentDirPath", new Integer(7));
m_opsHash.put("signalEvent", new Integer(8));
m_opsHash.put("getConfigPropertyInt", new Integer(9));
m_opsHash.put("logJdk", new Integer(10));
m_opsHash.put("getConfigPropertyBoolean", new Integer(11));
m_opsHash.put("getConfigPropertyString", new Integer(12));
m_opsHash.put("getProcessTempDirPath", new Integer(13));
m_opsHash.put("setConfigPropertyString", new Integer(14));
m_opsHash.put("setConfigPropertyFloat", new Integer(15));
m_opsHash.put("registerController", new Integer(16));
m_opsHash.put("getResource", new Integer(17));
m_opsHash.put("setConfigPropertyInt", new Integer(18));
m_opsHash.put("log", new Integer(19));
}
}