1
|
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
<beans xmlns="http://www.springframework.org/schema/beans"
|
3
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context"
|
4
|
xmlns:cxf="http://cxf.apache.org/core" xmlns:jaxws="http://cxf.apache.org/jaxws"
|
5
|
xmlns:p="http://http://www.springframework.org/schema/p"
|
6
|
xmlns:template="http://dnetlib.eu/springbeans/template"
|
7
|
xmlns:t="http://dnetlib.eu/springbeans/t"
|
8
|
xsi:schemaLocation="http://www.springframework.org/schema/beans
|
9
|
http://www.springframework.org/schema/beans/spring-beans-4.0.xsd
|
10
|
http://www.springframework.org/schema/context
|
11
|
http://www.springframework.org/schema/context/spring-context-2.5.xsd
|
12
|
http://cxf.apache.org/core http://cxf.apache.org/schemas/core.xsd
|
13
|
http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd
|
14
|
http://dnetlib.eu/springbeans/template http://dnetlib.eu/springbeans/template.xsd"
|
15
|
default-autowire="no">
|
16
|
|
17
|
<bean id="documentReader" factory-bean="searchManager" factory-method="getReader" />
|
18
|
|
19
|
<bean id="criteriaManager" class="gr.uoa.di.web.utils.search.CriteriaManager">
|
20
|
<constructor-arg ref="layoutManager"/>
|
21
|
<constructor-arg ref="vocabularyLoader"/>
|
22
|
<constructor-arg>
|
23
|
<bean factory-bean="webInterfaceLayoutManager" factory-method="getAllResultsVocabularies"/>
|
24
|
</constructor-arg>
|
25
|
</bean>
|
26
|
|
27
|
<bean id="searchManager" class="gr.uoa.di.web.utils.search.SearchManager">
|
28
|
<property name="cacheSize" value="${services.genericWeb.cacheSize}"/>
|
29
|
<property name="criteriaManager" ref="criteriaManager"/>
|
30
|
<property name="browseDataReader" ref="browseDataReader"/>
|
31
|
<property name="publisherServiceLocator" ref="publisherServiceLocator"/>
|
32
|
<property name="searchServiceLocator" ref="searchServiceLocator"/>
|
33
|
<property name="enhancer" ref="queryCollectionEnhancer"/>
|
34
|
<property name="rsFactory" ref="resultSetFactory" />
|
35
|
<property name="enableQueryCache" value="${services.genericWeb.enableCache}"/>
|
36
|
<property name="indexVersion" value="new"/>
|
37
|
</bean>
|
38
|
|
39
|
<bean id="documentProvider" class="gr.uoa.di.web.utils.search.DocumentProvider">
|
40
|
<!--
|
41
|
<property name="epManager" ref="epManager"/>
|
42
|
-->
|
43
|
<property name="documentReader" ref="documentReader" />
|
44
|
<property name="publisherServiceLocator" ref="publisherServiceLocator"/>
|
45
|
</bean>
|
46
|
|
47
|
<bean id="layoutManager" class="gr.uoa.di.web.utils.search.LayoutManager">
|
48
|
<constructor-arg ref="webInterfaceLayoutManager"/>
|
49
|
<constructor-arg ref="indexLayoutManager"/>
|
50
|
</bean>
|
51
|
|
52
|
</beans>
|