Project

General

Profile

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:jaxws="http://cxf.apache.org/jaxws"
4
	xmlns:sec="http://cxf.apache.org/configuration/security" xmlns:wsa="http://cxf.apache.org/ws/addressing"
5
	xmlns:p="http://www.springframework.org/schema/p" xmlns:http="http://cxf.apache.org/transports/http/configuration"
6
	xmlns:t="http://dnetlib.eu/springbeans/t" xmlns:template="http://dnetlib.eu/springbeans/template"
7
	xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.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 
12
    http://dnetlib.eu/springbeans/template http://dnetlib.eu/springbeans/template.xsd">
13

    
14
	<!-- beans -->
15
	<bean id="oaiProperties" class="eu.dnetlib.data.information.oai.publisher.OAIProperties"
16
		p:repoEmail="${services.oai.publisher.repo.email}" p:repoName="${services.oai.publisher.repo.name}"
17
		p:earliestDatestamp="${services.oai.publisher.repo.earliestdatestamp}"
18
		p:baseUrl="${services.oai.publisher.baseUrl}" p:deletedRecordSupport="${services.oai.publisher.deletedrecords}"
19
		p:dateGranularity="${services.oai.publisher.repo.granularity}" />
20

    
21
	<bean id="dnetOAICore"
22
		class="eu.dnetlib.data.information.oai.publisher.core.DNetOAICore"
23
		p:pageSize="${services.oai.publisher.dnet.pagesize}"/>
24

    
25
	<!-- Tracing -->
26

    
27
	<bean name="oaiControllerInterceptor"
28
		class="eu.dnetlib.data.information.oai.publisher.core.CoreInterceptor">
29
		<property name="enterMessage"
30
			value="ENTER: $[targetClassShortName].$[methodName]($[arguments])" />
31
		<property name="exitMessage"
32
			value="EXIT: $[targetClassShortName].$[methodName]($[arguments]) : $[invocationTime]ms" />
33
	</bean>
34

    
35
	<bean
36
		class="org.springframework.aop.framework.autoproxy.BeanNameAutoProxyCreator">
37
		<property name="beanNames" value="dnetOAICore" />
38
		<property name="proxyTargetClass" value="true" />
39
		<property name="interceptorNames">
40
			<list>
41
				<value>oaiControllerInterceptor</value>
42
			</list>
43
		</property>
44
	</bean>
45

    
46
</beans>
(2-2/2)