1
2
3
4
5 package gboat2.cxf.business;
6
7 import gboat2.base.core.service.IBaseService;
8 import gboat2.cxf.model.WebServiceConfig;
9 import gboat2.cxf.model.WebServiceConfigParam;
10
11 import org.osgi.framework.ServiceRegistration;
12
13
14
15
16
17
18
19
20
21 public interface IWebServiceConfigBusiness extends IBaseService {
22
23 public static final String SITE_ADDRESS_KEY = "p_site_address";
24
25 public static final String PORT_KEY = "p_port";
26
27 public static final String PORT_VALUE = "8090";
28
29
30
31
32 String EXPORTED_INTERFACES = "service.exported.interfaces";
33
34
35
36
37
38
39
40
41 String EXPORTED_CONFIGS = "service.exported.configs";
42
43
44 String WS_ADDRESS = "org.apache.cxf.ws.address";
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59 public ServiceRegistration publishService(WebServiceConfig serviceConfig);
60
61
62
63
64
65 public void unpublishService(WebServiceConfig config);
66
67
68
69
70
71
72
73
74
75 public void startPublishAndTrackWebService();
76
77
78
79
80
81
82 public WebServiceConfigParam getWebSerConfParam(String key);
83
84
85
86
87
88
89
90
91 public boolean decideCurrentService(String expPckNamesString, String serviceName);
92 }