1 |
|
|
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
6 |
|
|
7 |
|
|
8 |
|
|
9 |
|
|
10 |
|
|
11 |
|
|
12 |
|
|
13 |
|
|
14 |
|
|
15 |
|
|
16 |
|
|
17 |
|
|
18 |
|
|
19 |
|
|
20 |
|
|
21 |
|
package uk.ac.ebi.www.picr.AccessionMappingService; |
22 |
|
|
23 |
|
import jalview.util.MessageManager; |
24 |
|
|
|
|
| 0% |
Uncovered Elements: 65 (65) |
Complexity: 23 |
Complexity Density: 0.59 |
|
25 |
|
public class AccessionMapperServiceLocator |
26 |
|
extends org.apache.axis.client.Service implements |
27 |
|
uk.ac.ebi.www.picr.AccessionMappingService.AccessionMapperService |
28 |
|
{ |
29 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
30 |
0 |
public AccessionMapperServiceLocator()... |
31 |
|
{ |
32 |
|
} |
33 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
34 |
0 |
public AccessionMapperServiceLocator(... |
35 |
|
org.apache.axis.EngineConfiguration config) |
36 |
|
{ |
37 |
0 |
super(config); |
38 |
|
} |
39 |
|
|
40 |
|
|
41 |
|
private java.lang.String AccessionMapperPort_address = "http://www.ebi.ac.uk:80/Tools/picr/service"; |
42 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
43 |
0 |
public java.lang.String getAccessionMapperPortAddress()... |
44 |
|
{ |
45 |
0 |
return AccessionMapperPort_address; |
46 |
|
} |
47 |
|
|
48 |
|
|
49 |
|
private java.lang.String AccessionMapperPortWSDDServiceName = "AccessionMapperPort"; |
50 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
51 |
0 |
public java.lang.String getAccessionMapperPortWSDDServiceName()... |
52 |
|
{ |
53 |
0 |
return AccessionMapperPortWSDDServiceName; |
54 |
|
} |
55 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
56 |
0 |
public void setAccessionMapperPortWSDDServiceName(java.lang.String name)... |
57 |
|
{ |
58 |
0 |
AccessionMapperPortWSDDServiceName = name; |
59 |
|
} |
60 |
|
|
|
|
| 0% |
Uncovered Elements: 5 (5) |
Complexity: 2 |
Complexity Density: 0.4 |
|
61 |
0 |
public uk.ac.ebi.www.picr.AccessionMappingService.AccessionMapperInterface getAccessionMapperPort()... |
62 |
|
throws javax.xml.rpc.ServiceException |
63 |
|
{ |
64 |
0 |
java.net.URL endpoint; |
65 |
0 |
try |
66 |
|
{ |
67 |
0 |
endpoint = new java.net.URL(AccessionMapperPort_address); |
68 |
|
} catch (java.net.MalformedURLException e) |
69 |
|
{ |
70 |
0 |
throw new javax.xml.rpc.ServiceException(e); |
71 |
|
} |
72 |
0 |
return getAccessionMapperPort(endpoint); |
73 |
|
} |
74 |
|
|
|
|
| 0% |
Uncovered Elements: 5 (5) |
Complexity: 2 |
Complexity Density: 0.4 |
|
75 |
0 |
public uk.ac.ebi.www.picr.AccessionMappingService.AccessionMapperInterface getAccessionMapperPort(... |
76 |
|
java.net.URL portAddress) throws javax.xml.rpc.ServiceException |
77 |
|
{ |
78 |
0 |
try |
79 |
|
{ |
80 |
0 |
uk.ac.ebi.www.picr.AccessionMappingService.AccessionMapperBindingStub _stub = new uk.ac.ebi.www.picr.AccessionMappingService.AccessionMapperBindingStub( |
81 |
|
portAddress, this); |
82 |
0 |
_stub.setPortName(getAccessionMapperPortWSDDServiceName()); |
83 |
0 |
return _stub; |
84 |
|
} catch (org.apache.axis.AxisFault e) |
85 |
|
{ |
86 |
0 |
return null; |
87 |
|
} |
88 |
|
} |
89 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
90 |
0 |
public void setAccessionMapperPortEndpointAddress(... |
91 |
|
java.lang.String address) |
92 |
|
{ |
93 |
0 |
AccessionMapperPort_address = address; |
94 |
|
} |
95 |
|
|
96 |
|
|
97 |
|
|
98 |
|
|
99 |
|
|
|
|
| 0% |
Uncovered Elements: 11 (11) |
Complexity: 4 |
Complexity Density: 0.57 |
|
100 |
0 |
public java.rmi.Remote getPort(Class serviceEndpointInterface)... |
101 |
|
throws javax.xml.rpc.ServiceException |
102 |
|
{ |
103 |
0 |
try |
104 |
|
{ |
105 |
0 |
if (uk.ac.ebi.www.picr.AccessionMappingService.AccessionMapperInterface.class |
106 |
|
.isAssignableFrom(serviceEndpointInterface)) |
107 |
|
{ |
108 |
0 |
uk.ac.ebi.www.picr.AccessionMappingService.AccessionMapperBindingStub _stub = new uk.ac.ebi.www.picr.AccessionMappingService.AccessionMapperBindingStub( |
109 |
|
new java.net.URL(AccessionMapperPort_address), this); |
110 |
0 |
_stub.setPortName(getAccessionMapperPortWSDDServiceName()); |
111 |
0 |
return _stub; |
112 |
|
} |
113 |
|
} catch (java.lang.Throwable t) |
114 |
|
{ |
115 |
0 |
throw new javax.xml.rpc.ServiceException(t); |
116 |
|
} |
117 |
0 |
throw new javax.xml.rpc.ServiceException(MessageManager.formatMessage( |
118 |
|
"exception.no_stub_implementation_for_interface", new String[] |
119 |
0 |
{ (serviceEndpointInterface == null ? "null" |
120 |
|
: serviceEndpointInterface.getName()) })); |
121 |
|
} |
122 |
|
|
123 |
|
|
124 |
|
|
125 |
|
|
126 |
|
|
|
|
| 0% |
Uncovered Elements: 12 (12) |
Complexity: 3 |
Complexity Density: 0.38 |
|
127 |
0 |
public java.rmi.Remote getPort(javax.xml.namespace.QName portName,... |
128 |
|
Class serviceEndpointInterface) |
129 |
|
throws javax.xml.rpc.ServiceException |
130 |
|
{ |
131 |
0 |
if (portName == null) |
132 |
|
{ |
133 |
0 |
return getPort(serviceEndpointInterface); |
134 |
|
} |
135 |
0 |
java.lang.String inputPortName = portName.getLocalPart(); |
136 |
0 |
if ("AccessionMapperPort".equals(inputPortName)) |
137 |
|
{ |
138 |
0 |
return getAccessionMapperPort(); |
139 |
|
} |
140 |
|
else |
141 |
|
{ |
142 |
0 |
java.rmi.Remote _stub = getPort(serviceEndpointInterface); |
143 |
0 |
((org.apache.axis.client.Stub) _stub).setPortName(portName); |
144 |
0 |
return _stub; |
145 |
|
} |
146 |
|
} |
147 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
148 |
0 |
public javax.xml.namespace.QName getServiceName()... |
149 |
|
{ |
150 |
0 |
return new javax.xml.namespace.QName( |
151 |
|
"http://www.ebi.ac.uk/picr/AccessionMappingService", |
152 |
|
"AccessionMapperService"); |
153 |
|
} |
154 |
|
|
155 |
|
private java.util.HashSet ports = null; |
156 |
|
|
|
|
| 0% |
Uncovered Elements: 6 (6) |
Complexity: 2 |
Complexity Density: 0.5 |
|
157 |
0 |
public java.util.Iterator getPorts()... |
158 |
|
{ |
159 |
0 |
if (ports == null) |
160 |
|
{ |
161 |
0 |
ports = new java.util.HashSet(); |
162 |
0 |
ports.add(new javax.xml.namespace.QName( |
163 |
|
"http://www.ebi.ac.uk/picr/AccessionMappingService", |
164 |
|
"AccessionMapperPort")); |
165 |
|
} |
166 |
0 |
return ports.iterator(); |
167 |
|
} |
168 |
|
|
169 |
|
|
170 |
|
|
171 |
|
|
|
|
| 0% |
Uncovered Elements: 5 (5) |
Complexity: 2 |
Complexity Density: 0.67 |
|
172 |
0 |
public void setEndpointAddress(java.lang.String portName,... |
173 |
|
java.lang.String address) throws javax.xml.rpc.ServiceException |
174 |
|
{ |
175 |
0 |
if ("AccessionMapperPort".equals(portName)) |
176 |
|
{ |
177 |
0 |
setAccessionMapperPortEndpointAddress(address); |
178 |
|
} |
179 |
|
else |
180 |
|
{ |
181 |
0 |
throw new javax.xml.rpc.ServiceException(MessageManager.formatMessage( |
182 |
|
"exception.cannot_set_endpoint_address_unknown_port", |
183 |
|
new String[] |
184 |
|
{ portName })); |
185 |
|
} |
186 |
|
} |
187 |
|
|
188 |
|
|
189 |
|
|
190 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
191 |
0 |
public void setEndpointAddress(javax.xml.namespace.QName portName,... |
192 |
|
java.lang.String address) throws javax.xml.rpc.ServiceException |
193 |
|
{ |
194 |
0 |
setEndpointAddress(portName.getLocalPart(), address); |
195 |
|
} |
196 |
|
|
197 |
|
} |