blob: 7c6a049e8e6b81d0e08b0c43381809b045a2b431 [file] [log] [blame]
Guillaume Nodet09157a92010-03-10 17:40:45 +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<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
21 xmlns:tx="http://foo.bar/tx"
22 xmlns:t2="http://foo.bar/t2">
23
24 <type-converters>
25 <bean class="p1.Foo" t2:a="b">
26 <argument type="java.lang.Integer[]" value="0 1"/>
27 </bean>
28 </type-converters>
29
30 <bean class="p2.Foo">
31 <tx:transaction method="*" value="NotSupported"/>
32 <property name="bar">
33 <bean class="p3.Foo"/>
34 </property>
35 </bean>
36
Guillaume Nodetc24508d2010-03-11 12:38:58 +000037 <reference interface="p4.Foo" availability="optional" filter="(prop=a,b)" component-name="boo"/>
Guillaume Nodet09157a92010-03-10 17:40:45 +000038
39 <reference-list interface="p5.Foo">
40 </reference-list>
41
42 <service interface="p6.Foo">
43 <service-properties>
44 <entry key="k" value="v" />
45 </service-properties>
46 </service>
47
Guillaume Nodetf51cc6b2010-03-10 19:37:34 +000048 <service interface="p6.Foo">
49 <service-properties>
Guillaume Nodetda4289b2014-06-17 07:55:31 +000050 <entry key="k">
51 <array>
52 <value>v1</value>
53 <value>v2</value>
54 </array>
55 </entry>
Guillaume Nodetf51cc6b2010-03-10 19:37:34 +000056 </service-properties>
57 </service>
58
Guillaume Nodet09157a92010-03-10 17:40:45 +000059 <service>
60 <interfaces>
61 <value>p7.Foo</value>
Guillaume Nodet1c9211a2014-05-20 08:56:13 +000062 <value>p14.Foo</value>
Guillaume Nodet09157a92010-03-10 17:40:45 +000063 </interfaces>
64 <bean class="p8.Foo">
65 <argument type="p9.Foo[][]"><null/></argument>
66 <property name="bar">
67 <list value-type="p10.Foo">
68 <map key-type="p11.Foo" value-type="p12.Foo">
69 </map>
70 <set value-type="p13.Foo[]"/>
71 </list>
72 </property>
73 </bean>
74 </service>
75
76</blueprint>