Revision 28290
Added by Michele Artini about 10 years ago
applicationContext-dnet-modular-lightui-ui.xml | ||
---|---|---|
1 | 1 |
<?xml version="1.0" encoding="UTF-8"?> |
2 | 2 |
<beans xmlns="http://www.springframework.org/schema/beans" |
3 |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p" |
|
4 |
xmlns:util="http://www.springframework.org/schema/util" |
|
3 |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:sec="http://cxf.apache.org/configuration/security" |
|
4 |
xmlns:wsa="http://cxf.apache.org/ws/addressing" xmlns:p="http://www.springframework.org/schema/p" |
|
5 |
xmlns:http="http://cxf.apache.org/transports/http/configuration" |
|
6 |
xmlns:jaxws="http://cxf.apache.org/jaxws" |
|
5 | 7 |
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd |
6 |
http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util.xsd"> |
|
8 |
http://cxf.apache.org/ws/addressing http://cxf.apache.org/schemas/ws-addr-conf.xsd |
|
9 |
http://cxf.apache.org/configuration/security http://cxf.apache.org/schemas/configuration/security.xsd |
|
10 |
http://cxf.apache.org/transports/http/configuration http://cxf.apache.org/schemas/configuration/http-conf.xsd |
|
11 |
http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd"> |
|
7 | 12 |
|
13 |
<bean id="lightUiIndexLocator" class="eu.dnetlib.enabling.tools.StaticServiceLocator" |
|
14 |
p:service-ref="lightUiIndexService" /> |
|
15 |
|
|
16 |
<jaxws:client id="lightUiIndexService" |
|
17 |
serviceClass="eu.dnetlib.data.provision.index.rmi.IndexService" |
|
18 |
address="${lightui.index.endpoint}" /> |
|
19 |
|
|
20 |
<bean id="lightUiIndexClient" class="eu.dnetlib.functionality.modular.ui.lightui.IndexClient" |
|
21 |
p:indexLocator-ref="lightUiIndexLocator" |
|
22 |
p:mdFormat="${lightui.index.format}" |
|
23 |
p:interpretation="${lightui.index.interpretation}" |
|
24 |
p:layout="${lightui.index.layout}" |
|
25 |
p:browseFields="${lightui.index.browseFields}" |
|
26 |
p:maxBrowseValues="${lightui.index.maxBrowseValues}"> |
|
27 |
<property name="toRow"> |
|
28 |
<bean class="eu.dnetlib.miscutils.functional.xml.ApplyXslt"> |
|
29 |
<constructor-arg type="org.springframework.core.io.Resource" value="${lightui.row.xslt}" /> |
|
30 |
</bean> |
|
31 |
</property> |
|
32 |
<property name="toDocument"> |
|
33 |
<bean class="eu.dnetlib.miscutils.functional.xml.ApplyXslt"> |
|
34 |
<constructor-arg type="org.springframework.core.io.Resource" value="${lightui.document.xslt}" /> |
|
35 |
</bean> |
|
36 |
</property> |
|
37 |
</bean> |
|
38 |
|
|
8 | 39 |
</beans> |
Also available in: Unified diff
partial implementation