| 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 |
<b:blueprint xmlns:b="http://www.osgi.org/xmlns/blueprint/v1.0.0" |
| 21 |
xmlns:test="http://xbean.apache.org/test" |
| 22 |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 23 |
xsi:schemaLocation=" |
| 24 |
http://xbean.apache.org/test http://xbean.apache.org/test.xsd |
| 25 |
"> |
| 26 |
|
| 27 |
<!-- All the following bean declarations are equivalent --> |
| 28 |
<test:qname-service b:id="qname-1"> |
| 29 |
<test:list> |
| 30 |
<bean class="org.apache.xbean.spring.example.PizzaService"> |
| 31 |
<property name="cheese" value="mucho"/> |
| 32 |
</bean> |
| 33 |
</test:list> |
| 34 |
</test:qname-service> |
| 35 |
|
| 36 |
<test:qname-service b:id="qname-2"> |
| 37 |
<test:list> |
| 38 |
<test:pizza cheese="mucho"/> |
| 39 |
</test:list> |
| 40 |
</test:qname-service> |
| 41 |
|
| 42 |
<test:qname-service b:id="qname-3"> |
| 43 |
<b:property name="list"> |
| 44 |
<b:list> |
| 45 |
<test:pizza cheese="mucho"/> |
| 46 |
</b:list> |
| 47 |
</b:property> |
| 48 |
</test:qname-service> |
| 49 |
|
| 50 |
|
| 51 |
<test:recipe-service b:id="recipe-service-1"> |
| 52 |
<test:topRecipe> |
| 53 |
<test:recipe instructions="lots of sugar"/> |
| 54 |
</test:topRecipe> |
| 55 |
</test:recipe-service> |
| 56 |
|
| 57 |
</b:blueprint> |