blob: 31dca21ab8b007362d5dd32b2518c982497e14cb [file] [log] [blame]
Guillaume Nodet91fab3b2009-04-27 10:01:58 +00001<?xml version="1.0" encoding="UTF-8"?>
2<!--
3
4 Licensed to the Apache Software Foundation (ASF) under one or more
5 contributor license agreements. See the NOTICE file distributed with
6 this work for additional information regarding copyright ownership.
7 The ASF licenses this file to You under the Apache License, Version 2.0
8 (the "License"); you may not use this file except in compliance with
9 the License. You may obtain a copy of the License at
10
11 http://www.apache.org/licenses/LICENSE-2.0
12
13 Unless required by applicable law or agreed to in writing, software
14 distributed under the License is distributed on an "AS IS" BASIS,
15 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 See the License for the specific language governing permissions and
17 limitations under the License.
18
19-->
20<beans xmlns="http://www.springframework.org/schema/beans"
21 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
22 xmlns:osgi="http://www.springframework.org/schema/osgi"
23 xmlns:util="http://www.springframework.org/schema/util"
24 xsi:schemaLocation="
25 http://www.springframework.org/schema/beans
26 http://www.springframework.org/schema/beans/spring-beans.xsd
27 http://www.springframework.org/schema/util
28 http://www.springframework.org/schema/util/spring-util.xsd
29 http://www.springframework.org/schema/osgi
30 http://www.springframework.org/schema/osgi/spring-osgi.xsd">
31
32 <manifest>
33 RequireBundle=org.osgi
34 Header=value
35 </manifest>
36
Guillaume Nodet18c56a12009-04-30 09:10:03 +000037 <bean id="springDeploymentListener" class="org.apache.servicemix.kernel.deployer.spring.SpringDeploymentListener">
Guillaume Nodet91fab3b2009-04-27 10:01:58 +000038
39 </bean>
40
41 <osgi:service ref="springDeploymentListener">
42 <osgi:interfaces>
Guillaume Nodet18c56a12009-04-30 09:10:03 +000043 <value>org.apache.servicemix.kernel.deployer.filemonitor.DeploymentListener</value>
Guillaume Nodet91fab3b2009-04-27 10:01:58 +000044 </osgi:interfaces>
45 </osgi:service>
46
Guillaume Nodet18c56a12009-04-30 09:10:03 +000047 <bean id="springHandler" class="org.apache.servicemix.kernel.deployer.spring.SpringURLHandler" />
Guillaume Nodet91fab3b2009-04-27 10:01:58 +000048
49 <osgi:service ref="springHandler" interface="org.osgi.service.url.URLStreamHandlerService">
50 <osgi:service-properties>
51 <entry key="url.handler.protocol" value="spring"/>
52 </osgi:service-properties>
53 </osgi:service>
54
55</beans>