XMLFMCallBackPOA.java
4.95 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
/*
* Decompiled with CFR 0_118.
*/
package com.adobe.xmlformcallback;
import com.adobe.xmlformcallback.*;
import org.omg.CORBA.BAD_OPERATION;
import org.omg.CORBA.ORB;
import org.omg.CORBA.Object;
import org.omg.CORBA.SystemException;
import org.omg.CORBA.portable.*;
import org.omg.PortableServer.POA;
import org.omg.PortableServer.Servant;
import java.util.HashMap;
public abstract class XMLFMCallBackPOA
extends Servant
implements InvokeHandler,
XMLFMCallBackOperations {
private static final HashMap<String, Integer> m_opsHash = new HashMap();
private String[] ids = new String[]{"IDL:com/adobe/xmlformcallback/XMLFMCallBack:1.0"};
public XMLFMCallBack _this() {
Object __o = this._this_object();
XMLFMCallBack __r = XMLFMCallBackHelper.narrow(__o);
if (__o != null && __o != __r) {
((ObjectImpl)__o)._set_delegate(null);
}
return __r;
}
public XMLFMCallBack _this(ORB orb) {
Object __o = this._this_object(orb);
XMLFMCallBack __r = XMLFMCallBackHelper.narrow(__o);
if (__o != null && __o != __r) {
((ObjectImpl)__o)._set_delegate(null);
}
return __r;
}
public OutputStream _invoke(String method, InputStream _input, ResponseHandler handler) throws SystemException {
OutputStream _out = null;
Integer opsIndex = m_opsHash.get(method);
if (null == opsIndex) {
throw new BAD_OPERATION(method + " not found");
}
switch (opsIndex) {
case 0: {
try {
String _arg0 = _input.read_wstring();
_out = handler.createReply();
WSUsernamePasswordHelper.write(_out, this.getUsernamePasswordCredential(_arg0));
}
catch (WSXMLFMCallBackException _ex0) {
_out = handler.createExceptionReply();
WSXMLFMCallBackExceptionHelper.write(_out, _ex0);
}
break;
}
case 1: {
try {
String _arg0 = _input.read_wstring();
String _arg1 = _input.read_wstring();
_out = handler.createReply();
ByteArrayHelper.write(_out, this.getP12Credential(_arg0, _arg1));
}
catch (WSXMLFMCallBackException _ex0) {
_out = handler.createExceptionReply();
WSXMLFMCallBackExceptionHelper.write(_out, _ex0);
}
break;
}
case 2: {
try {
String _arg0 = _input.read_wstring();
String _arg1 = _input.read_wstring();
_out = handler.createReply();
WSUsernamePasswordHelper.write(_out, this.getUsernamePasswordCredentialBatch(_arg0, _arg1));
}
catch (WSXMLFMCallBackException _ex0) {
_out = handler.createExceptionReply();
WSXMLFMCallBackExceptionHelper.write(_out, _ex0);
}
break;
}
case 3: {
byte[] _arg0 = ByteArrayHelper.read(_input);
_out = handler.createReply();
this.setInvocationContext(_arg0);
break;
}
case 4: {
try {
String _arg0 = _input.read_wstring();
String _arg1 = _input.read_wstring();
String _arg2 = _input.read_wstring();
_out = handler.createReply();
ByteArrayHelper.write(_out, this.getP12CredentialBatch(_arg0, _arg1, _arg2));
}
catch (WSXMLFMCallBackException _ex0) {
_out = handler.createExceptionReply();
WSXMLFMCallBackExceptionHelper.write(_out, _ex0);
}
break;
}
case 5: {
byte[] _arg0 = ByteArrayHelper.read(_input);
WSPair[][] _arg1 = WSPairListArrayHelper.read(_input);
_out = handler.createReply();
this.setContextAndRequestInfo(_arg0, _arg1);
break;
}
case 6: {
WSPair[][] _arg0 = WSPairListArrayHelper.read(_input);
_out = handler.createReply();
this.setServiceRequestInfo(_arg0);
break;
}
}
return _out;
}
public String[] _all_interfaces(POA poa, byte[] obj_id) {
return this.ids;
}
static {
m_opsHash.put("getUsernamePasswordCredential", 0);
m_opsHash.put("getP12Credential", 1);
m_opsHash.put("getUsernamePasswordCredentialBatch", 2);
m_opsHash.put("setInvocationContext", 3);
m_opsHash.put("getP12CredentialBatch", 4);
m_opsHash.put("setContextAndRequestInfo", 5);
m_opsHash.put("setServiceRequestInfo", 6);
}
}