Project

General

Profile

1
<?xml version="1.0" encoding="UTF-8"?>
2

    
3
<beans xmlns="http://www.springframework.org/schema/beans"
4
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
5
	xmlns:context="http://www.springframework.org/schema/context"
6
	xmlns:jaxws="http://cxf.apache.org/jaxws"
7

    
8
	xsi:schemaLocation="
9
		http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.0.xsd
10
        http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.0.xsd
11
        http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd"
12
	default-autowire="no">
13

    
14
	<context:annotation-config />
15
	
16
	<!--<bean id="cnr.lookUpLocator" class="eu.dnetlib.enabling.tools.StaticServiceLocator">-->
17
		<!--<property name="service" ref="cnr.lookUpService" />-->
18
	<!--</bean>-->
19

    
20
	<!--<alias name="cnr.lookUpLocator" alias="lookupLocator" />-->
21

    
22
	<!--<bean id="cnr.snLocator" class="eu.dnetlib.enabling.tools.StaticServiceLocator">-->
23
	<!--<property name="service" ref="cnr.snService" />-->
24
	<!--</bean>-->
25

    
26
	<!--<alias name="cnr.snLocator" alias="snLocator" />-->
27

    
28
	<!--<bean id="cnr.registryLocator" class="eu.dnetlib.enabling.tools.StaticServiceLocator">-->
29
	<!--<property name="service" ref="cnr.registryService" />-->
30
	<!--</bean>-->
31
	<!---->
32
	<!--<alias name="cnr.registryLocator" alias="registryLocator" />-->
33

    
34

    
35
	<jaxws:client id="cnr.lookUpService"
36
		serviceClass="eu.dnetlib.enabling.is.lookup.rmi.ISLookUpService"
37
		address="${ISLookUpService.url}" />
38

    
39
	<jaxws:client id="cnr.registryService"
40
		serviceClass="eu.dnetlib.enabling.is.registry.rmi.ISRegistryService"
41
		address="${ISRegistryService.url}" />
42

    
43
	<jaxws:client id="cnr.snService"
44
		serviceClass="eu.dnetlib.enabling.is.sn.rmi.ISSNService"
45
		address="${ISSNService.url}" />
46

    
47
	<!--&lt;!&ndash; The service locators &ndash;&gt;-->
48
	<bean id="lookupServiceLocator"
49
		class="eu.dnetlib.clients.utils.ws.JaxwsServiceLocator">
50
		<property name="url" value="${ISLookUpService.url}" />
51
		<property name="eprBuilder" ref="cxfEndpointReferenceBuilder" />
52
		<property name="resolver" ref="endpointResolver" />
53
		<property name="serviceClass" value="eu.dnetlib.api.enabling.ISLookUpService" />
54
	</bean>
55

    
56

    
57
	<bean id="registryServiceLocator" 
58
		factory-bean="serviceLocatorFactory"
59
		factory-method="newServiceLocator">
60
		<constructor-arg value="eu.dnetlib.api.enabling.ISRegistryService" />
61
		<constructor-arg value="${ISRegistryService.url}" />
62
	</bean>
63
	<bean id="resultSetServiceLocator" 
64
		factory-bean="serviceLocatorFactory"
65
		factory-method="newServiceLocator">
66
		<constructor-arg value="eu.dnetlib.api.enabling.ResultSetService" />
67
		<constructor-arg value="${ResultSetService.url}" />
68
	</bean>
69
	<bean id="subscriptionServiceLocator" 
70
		factory-bean="serviceLocatorFactory"
71
		factory-method="newServiceLocator">
72
		<constructor-arg value="eu.dnetlib.api.enabling.ISSNService" />
73
		<constructor-arg value="${ISSNService.url}" />
74
	</bean>
75
	<bean id="datasourceManagerServiceLocator" 
76
		factory-bean="serviceLocatorFactory"
77
		factory-method="newServiceLocator">
78
		<constructor-arg value="eu.dnetlib.api.data.DatasourceManagerService" />
79
		<constructor-arg value="${DatasourceManagerService.url}" />
80
	</bean>
81
	<bean id="mdStoreServiceLocator"
82
		  factory-bean="serviceLocatorFactory"
83
		  factory-method="newServiceLocator">
84
		<constructor-arg value="eu.dnetlib.api.data.MDStoreService" />
85
		<constructor-arg value="${MDStoreService.url}" />
86
	</bean>
87
	<bean id="dbServiceLocator" 
88
		factory-bean="serviceLocatorFactory"
89
		factory-method="newServiceLocator">
90
		<constructor-arg value="eu.dnetlib.api.enabling.DatabaseService" />
91
		<constructor-arg value="${DBService.url}" />
92
	</bean>
93
	<bean id="actionManagerLocator"
94
                factory-bean="serviceLocatorFactory"
95
                factory-method="newServiceLocator">
96
                <constructor-arg value="eu.dnetlib.api.enabling.ActionManagerService" />
97
                <constructor-arg value="${ActionManagerService.url}" />
98
        </bean>
99
	<bean id="a2ServiceLocator" 
100
		factory-bean="serviceLocatorFactory"
101
		factory-method="newServiceLocator">
102
		<constructor-arg value="eu.dnetlib.api.enabling.A2Service" />
103
		<constructor-arg value="${A2Service.url}" />
104
	</bean>
105
	<bean id="userProfileServiceLocator"
106
		factory-bean="serviceLocatorFactory"
107
		factory-method="newServiceLocator">
108
		<constructor-arg value="eu.dnetlib.api.functionality.UserProfileService" />
109
		<constructor-arg value="${UserProfileService.url}" />
110
	</bean>
111
	<bean id="indexServiceLocator"
112
		factory-bean="serviceLocatorFactory"
113
		factory-method="newServiceLocator">
114
		<constructor-arg value="eu.dnetlib.api.data.IndexService" />
115
		<constructor-arg value="${IndexService.url}" />
116
	</bean>
117
	<bean id="searchServiceLocator"
118
		factory-bean="serviceLocatorFactory"
119
		factory-method="newServiceLocator">
120
		<constructor-arg value="eu.dnetlib.api.data.SearchService" />
121
		<constructor-arg value="${SearchService.url}" />
122
	</bean>
123
	<bean id="communityServiceLocator"
124
		factory-bean="serviceLocatorFactory"
125
		factory-method="newServiceLocator">
126
		<constructor-arg value="eu.dnetlib.api.functionality.CommunityService" />
127
		<constructor-arg value="${CommunityService.url}" />
128
	</bean>
129
	<bean id="collectionServiceLocator"
130
		factory-bean="serviceLocatorFactory"
131
		factory-method="newServiceLocator">
132
		<constructor-arg value="eu.dnetlib.api.functionality.CollectionService" />
133
		<constructor-arg value="${CollectionService.url}" />
134
	</bean>	
135
	<bean id="conversionServiceLocator" 
136
		factory-bean="serviceLocatorFactory"
137
		factory-method="newServiceLocator">
138
		<constructor-arg value="eu.dnetlib.api.functionality.ConversionService" />
139
		<constructor-arg value="${services.conversionService.ws.url}" />
140
	</bean>
141
	<bean id="publisherServiceLocator"
142
		factory-bean="serviceLocatorFactory"
143
		factory-method="newServiceLocator">
144
		<constructor-arg value="eu.dnetlib.api.data.PublisherService" />
145
		<constructor-arg value="${PublisherService.url}" />
146
	</bean>
147
	<bean id="recommendationServiceLocator"
148
		factory-bean="serviceLocatorFactory"
149
		factory-method="newServiceLocator">
150
		<constructor-arg value="eu.dnetlib.api.functionality.RecommendationService" />
151
		<constructor-arg value="${RecommendationService.url}" />
152
	</bean>
153
	<bean id="validatorServiceLocator"
154
		factory-bean="serviceLocatorFactory"
155
		factory-method="newServiceLocator">
156
		<constructor-arg value="eu.dnetlib.api.functionality.ValidatorService" />
157
		<constructor-arg value="${ValidatorService.url}" />
158
	</bean>
159
	<bean id="forumServiceLocator"
160
		factory-bean="serviceLocatorFactory"
161
		factory-method="newServiceLocator">
162
		<constructor-arg value="eu.dnetlib.api.functionality.ForumService" />
163
		<constructor-arg value="${ForumService.url}" />
164
	</bean>
165
	<bean id="ratingServiceLocator"
166
		factory-bean="serviceLocatorFactory"
167
		factory-method="newServiceLocator">
168
		<constructor-arg value="eu.dnetlib.api.functionality.RatingService" />
169
		<constructor-arg value="${RatingService.url}" />
170
	</bean>
171
	<bean id="webIntarfaceServiceLocator"
172
		factory-bean="serviceLocatorFactory"
173
		factory-method="newServiceLocator">
174
		<constructor-arg value="eu.dnetlib.api.functionality.WebInterfaceService" />
175
		<constructor-arg value="${WebInterfaceService.url}" />
176
	</bean>
177
	<bean id="similarityServiceLocator"
178
		factory-bean="serviceLocatorFactory"
179
		factory-method="newServiceLocator">
180
		<constructor-arg value="eu.dnetlib.api.data.SimilarityService" />
181
		<constructor-arg value="${services.similarityService.ws.url}" />
182
	</bean>	
183
	<bean id="alertServiceLocator"
184
		factory-bean="serviceLocatorFactory"
185
		factory-method="newServiceLocator">
186
		<constructor-arg value="eu.dnetlib.api.functionality.AlertService" />
187
		<constructor-arg value="${services.alertService.ws.url}" />
188
	</bean>	
189
		<bean id="notificationServiceLocator"
190
		factory-bean="serviceLocatorFactory"
191
		factory-method="newServiceLocator">
192
		<constructor-arg value="eu.dnetlib.api.functionality.NotificationService" />
193
		<constructor-arg value="${services.notificationService.ws.url}" />
194
	</bean>	
195
</beans>
(2-2/2)