]> git.argeo.org Git - gpl/argeo-slc.git/blob - runtime/org.argeo.slc.launcher/src/main/resources/org/argeo/slc/cli/spring.xml
ad778222ae43e11640a27c6e3eadf421bb4ee875
[gpl/argeo-slc.git] / runtime / org.argeo.slc.launcher / src / main / resources / org / argeo / slc / cli / spring.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3
4 Copyright (C) 2007-2012 Argeo GmbH
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 <beans xmlns="http://www.springframework.org/schema/beans"
20 xmlns:amq="http://activemq.apache.org/schema/core" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
21 xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
22 http://activemq.apache.org/schema/core http://activemq.apache.org/schema/core/activemq-core.xsd"
23 default-lazy-init="false">
24
25
26 <bean
27 class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"
28 lazy-init="false">
29 <property name="properties">
30 <props>
31 <prop key="org.apache.activemq.brokerURL">
32 tcp://localhost:61616
33 </prop>
34 </props>
35 </property>
36 <property name="systemPropertiesModeName" value="SYSTEM_PROPERTIES_MODE_OVERRIDE" />
37 <property name="ignoreUnresolvablePlaceholders" value="true" />
38 </bean>
39
40 <import resource="classpath:org/argeo/slc/activemq/spring-agent.xml" />
41
42 <bean id="slcDefault.cli.slcApplication" class="org.argeo.slc.ant.AntSlcApplication"
43 init-method="initFromSlcRootFile">
44 <property name="slcRootFile" value="${slc.rootFile}" />
45 </bean>
46
47 </beans>