]> git.argeo.org Git - gpl/argeo-slc.git/blob - runtime/org.argeo.slc.support.equinox/src/main/resources/META-INF/spring/manager.xml
aafe92935fe4b9da31561be96c9b8ac53836160b
[gpl/argeo-slc.git] / runtime / org.argeo.slc.support.equinox / src / main / resources / META-INF / spring / manager.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3
4 Copyright (C) 2010 Mathieu Baudier <mbaudier@argeo.org>
5
6 Licensed under the Apache License, Version 2.0 (the "License");
7 you may not use this file except in compliance with the License.
8 You may obtain a copy of the License at
9
10 http://www.apache.org/licenses/LICENSE-2.0
11
12 Unless required by applicable law or agreed to in writing, software
13 distributed under the License is distributed on an "AS IS" BASIS,
14 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 See the License for the specific language governing permissions and
16 limitations under the License.
17
18 -->
19
20 <beans xmlns="http://www.springframework.org/schema/beans"
21 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p"
22 xmlns:aop="http://www.springframework.org/schema/aop"
23 xsi:schemaLocation="
24 http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
25 http://www.springframework.org/schema/lang http://www.springframework.org/schema/lang/spring-lang-2.5.xsd
26 http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd">
27
28 <bean
29 class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
30 <property name="systemPropertiesModeName" value="SYSTEM_PROPERTIES_MODE_OVERRIDE" />
31 <property name="ignoreUnresolvablePlaceholders" value="false" />
32 <property name="locations">
33 <value>osgibundle:equinox.properties
34 </value>
35 </property>
36 </bean>
37
38 <bean id="commandProvider" class="org.argeo.slc.equinox.ExecutionCommandProvider"
39 init-method="init">
40 <property name="modulesManager" ref="modulesManager" />
41 </bean>
42
43 <bean id="bundlesManager" class="org.argeo.slc.osgi.BundlesManager">
44 <property name="defaultTimeout" value="${slc.equinox.commandTimeout}" />
45 <property name="pollingPeriod" value="${slc.equinox.commandPollingPeriod}" />
46 </bean>
47
48 <bean id="modulesManager" class="org.argeo.slc.osgi.OsgiExecutionModulesManager">
49 <property name="bundlesManager" ref="bundlesManager" />
50 </bean>
51
52 </beans>