1 |
|
|
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
6 |
|
|
7 |
|
|
8 |
|
|
9 |
|
|
10 |
|
|
11 |
|
|
12 |
|
|
13 |
|
|
14 |
|
|
15 |
|
|
16 |
|
|
17 |
|
package org.kuali.rice.ksb.messaging.serviceexporters; |
18 |
|
|
19 |
|
import org.kuali.rice.ksb.messaging.KSBHttpInvokerServiceExporter; |
20 |
|
import org.kuali.rice.ksb.messaging.ServerSideRemotedServiceHolder; |
21 |
|
import org.kuali.rice.ksb.messaging.ServiceInfo; |
22 |
|
|
23 |
|
|
24 |
|
|
25 |
|
@author |
26 |
|
|
|
|
| 0% |
Uncovered Elements: 10 (10) |
Complexity: 3 |
Complexity Density: 0.43 |
|
27 |
|
public class HttpInvokerServiceExporter implements ServiceExporter { |
28 |
|
|
29 |
|
private ServiceInfo serviceInfo; |
30 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
31 |
0
|
public HttpInvokerServiceExporter(ServiceInfo serviceInfo) {... |
32 |
0
|
this.serviceInfo = serviceInfo; |
33 |
|
} |
34 |
|
|
|
|
| 0% |
Uncovered Elements: 5 (5) |
Complexity: 1 |
Complexity Density: 0.2 |
|
35 |
0
|
public ServerSideRemotedServiceHolder getServiceExporter(Object serviceImpl) {... |
36 |
0
|
KSBHttpInvokerServiceExporter service = new KSBHttpInvokerServiceExporter(); |
37 |
0
|
service.setServiceInfo(getServiceInfo()); |
38 |
0
|
service.setService(serviceImpl); |
39 |
0
|
service.afterPropertiesSet(); |
40 |
0
|
return new ServerSideRemotedServiceHolder(service, getServiceInfo().getServiceDefinition().getService(), getServiceInfo()); |
41 |
|
} |
42 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
43 |
0
|
public ServiceInfo getServiceInfo() {... |
44 |
0
|
return this.serviceInfo; |
45 |
|
} |
46 |
|
} |