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:
aop=
"http://www.springframework.org/schema/aop"
4 xmlns:
tx=
"http://www.springframework.org/schema/tx"
6 http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
7 http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.5.xsd
8 http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd"
9 default-lazy-init=
"false">
13 class=
"org.springframework.web.context.support.ServletContextPropertyPlaceholderConfigurer"
15 <property name=
"contextOverride" value=
"true" />
16 <property name=
"properties">
18 <prop key=
"sessionFactoryParentBean">
19 slcServerDefault.sessionFactory.HSQL
23 <property name=
"ignoreUnresolvablePlaceholders" value=
"true" />
26 <import resource=
"transaction.xml" />
27 <import resource=
"db.xml" />
28 <import resource=
"activemq.xml" />
31 <bean id=
"testManagerService" class=
"org.argeo.slc.services.impl.test.TestManagerServiceImpl">
32 <constructor-arg ref=
"testResultDao" />
33 <constructor-arg ref=
"testRunDescriptorDao" />
34 <constructor-arg ref=
"slcExecutionDao" />
35 <constructor-arg ref=
"testResultCollectionDao" />
38 <bean id=
"agentService" class=
"org.argeo.slc.services.impl.runtime.AgentServiceImpl">
39 <constructor-arg ref=
"slcAgentDescriptorDao" />
42 <bean id=
"agentService.jmsContainer.register" parent=
"template.jms.listenerContainer">
43 <property name=
"destination" ref=
"slcJms.destination.agent.register" />
44 <property name=
"messageListener">
45 <bean parent=
"template.jms.listenerAdapter">
46 <constructor-arg ref=
"agentService" />
47 <property name=
"defaultListenerMethod" value=
"register" />
52 <bean id=
"agentService.jmsContainer.unregister" parent=
"template.jms.listenerContainer">
53 <property name=
"destination" ref=
"slcJms.destination.agent.unregister" />
54 <property name=
"messageListener">
55 <bean parent=
"template.jms.listenerAdapter">
56 <constructor-arg ref=
"agentService" />
57 <property name=
"defaultListenerMethod" value=
"unregister" />