blob: fe8d4f3203f203076c010213b82e3ed11a6b17be [file] [log] [blame]
Guillaume Nodet6eb68b42010-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
37 <reference interface="p4.Foo" availability="optional"/>
38
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
48 <service>
49 <interfaces>
50 <value>p7.Foo</value>
51 </interfaces>
52 <bean class="p8.Foo">
53 <argument type="p9.Foo[][]"><null/></argument>
54 <property name="bar">
55 <list value-type="p10.Foo">
56 <map key-type="p11.Foo" value-type="p12.Foo">
57 </map>
58 <set value-type="p13.Foo[]"/>
59 </list>
60 </property>
61 </bean>
62 </service>
63
64</blueprint>