Guillaume Nodet | 09157a9 | 2010-03-10 17:40:45 +0000 | [diff] [blame] | 1 | <?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 Nodet | c24508d | 2010-03-11 12:38:58 +0000 | [diff] [blame] | 37 | <reference interface="p4.Foo" availability="optional" filter="(prop=a,b)" component-name="boo"/> |
Guillaume Nodet | 09157a9 | 2010-03-10 17:40:45 +0000 | [diff] [blame] | 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 | |
Guillaume Nodet | f51cc6b | 2010-03-10 19:37:34 +0000 | [diff] [blame] | 48 | <service interface="p6.Foo"> |
| 49 | <service-properties> |
| 50 | <entry key="k" value="v2" /> |
| 51 | </service-properties> |
| 52 | </service> |
| 53 | |
Guillaume Nodet | 09157a9 | 2010-03-10 17:40:45 +0000 | [diff] [blame] | 54 | <service> |
| 55 | <interfaces> |
| 56 | <value>p7.Foo</value> |
| 57 | </interfaces> |
| 58 | <bean class="p8.Foo"> |
| 59 | <argument type="p9.Foo[][]"><null/></argument> |
| 60 | <property name="bar"> |
| 61 | <list value-type="p10.Foo"> |
| 62 | <map key-type="p11.Foo" value-type="p12.Foo"> |
| 63 | </map> |
| 64 | <set value-type="p13.Foo[]"/> |
| 65 | </list> |
| 66 | </property> |
| 67 | </bean> |
| 68 | </service> |
| 69 | |
| 70 | </blueprint> |