Felix Meschberger | f975aa5 | 2009-08-24 10:37:44 +0000 | [diff] [blame^] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- |
| 3 | Licensed to the Apache Software Foundation (ASF) under one |
| 4 | or more contributor license agreements. See the NOTICE file |
| 5 | distributed with this work for additional information |
| 6 | regarding copyright ownership. The ASF licenses this file |
| 7 | to you under the Apache License, Version 2.0 (the |
| 8 | "License"); you may not use this file except in compliance |
| 9 | with 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, |
| 14 | software distributed under the License is distributed on an |
| 15 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| 16 | KIND, either express or implied. See the License for the |
| 17 | specific language governing permissions and limitations |
| 18 | under the License. |
| 19 | --> |
| 20 | <components xmlns:scr="http://www.osgi.org/xmlns/scr/v1.1.0"> |
| 21 | |
| 22 | <scr:component name="test_optional_single_dynamic" |
| 23 | enabled="false" |
| 24 | configuration-policy="ignore"> |
| 25 | <implementation class="org.apache.felix.scr.integration.components.SimpleComponent" /> |
| 26 | <reference |
| 27 | name="ref" |
| 28 | interface="org.apache.felix.scr.integration.components.SimpleService" |
| 29 | cardinality="0..1" |
| 30 | policy="dynamic" |
| 31 | bind="setSimpleService" |
| 32 | unbind="unsetSimpleService" |
| 33 | /> |
| 34 | </scr:component> |
| 35 | |
| 36 | <scr:component name="test_required_single_dynamic" |
| 37 | enabled="false" |
| 38 | configuration-policy="ignore"> |
| 39 | <implementation class="org.apache.felix.scr.integration.components.SimpleComponent" /> |
| 40 | <reference |
| 41 | name="ref" |
| 42 | interface="org.apache.felix.scr.integration.components.SimpleService" |
| 43 | cardinality="1..1" |
| 44 | policy="dynamic" |
| 45 | bind="setSimpleService" |
| 46 | unbind="unsetSimpleService" |
| 47 | /> |
| 48 | </scr:component> |
| 49 | |
| 50 | <scr:component name="test_optional_multiple_dynamic" |
| 51 | enabled="false" |
| 52 | configuration-policy="ignore"> |
| 53 | <implementation class="org.apache.felix.scr.integration.components.SimpleComponent" /> |
| 54 | <reference |
| 55 | name="ref" |
| 56 | interface="org.apache.felix.scr.integration.components.SimpleService" |
| 57 | cardinality="0..n" |
| 58 | policy="dynamic" |
| 59 | bind="bindSimpleService" |
| 60 | unbind="unbindSimpleService" |
| 61 | /> |
| 62 | </scr:component> |
| 63 | |
| 64 | <scr:component name="test_required_multiple_dynamic" |
| 65 | enabled="false" |
| 66 | configuration-policy="ignore"> |
| 67 | <implementation class="org.apache.felix.scr.integration.components.SimpleComponent" /> |
| 68 | <reference |
| 69 | name="ref" |
| 70 | interface="org.apache.felix.scr.integration.components.SimpleService" |
| 71 | cardinality="1..n" |
| 72 | policy="dynamic" |
| 73 | bind="bindSimpleService" |
| 74 | unbind="unbindSimpleService" |
| 75 | /> |
| 76 | </scr:component> |
| 77 | |
| 78 | <scr:component name="test_optional_single_static" |
| 79 | enabled="false" |
| 80 | configuration-policy="ignore"> |
| 81 | <implementation class="org.apache.felix.scr.integration.components.SimpleComponent" /> |
| 82 | <reference |
| 83 | name="ref" |
| 84 | interface="org.apache.felix.scr.integration.components.SimpleService" |
| 85 | cardinality="0..1" |
| 86 | policy="static" |
| 87 | bind="setSimpleService" |
| 88 | unbind="unsetSimpleService" |
| 89 | /> |
| 90 | </scr:component> |
| 91 | |
| 92 | <scr:component name="test_required_single_static" |
| 93 | enabled="false" |
| 94 | configuration-policy="ignore"> |
| 95 | <implementation class="org.apache.felix.scr.integration.components.SimpleComponent" /> |
| 96 | <reference |
| 97 | name="ref" |
| 98 | interface="org.apache.felix.scr.integration.components.SimpleService" |
| 99 | cardinality="1..1" |
| 100 | policy="static" |
| 101 | bind="setSimpleService" |
| 102 | unbind="unsetSimpleService" |
| 103 | /> |
| 104 | </scr:component> |
| 105 | |
| 106 | <scr:component name="test_optional_multiple_static" |
| 107 | enabled="false" |
| 108 | configuration-policy="ignore"> |
| 109 | <implementation class="org.apache.felix.scr.integration.components.SimpleComponent" /> |
| 110 | <reference |
| 111 | name="ref" |
| 112 | interface="org.apache.felix.scr.integration.components.SimpleService" |
| 113 | cardinality="0..n" |
| 114 | policy="static" |
| 115 | bind="bindSimpleService" |
| 116 | unbind="unbindSimpleService" |
| 117 | /> |
| 118 | </scr:component> |
| 119 | |
| 120 | <scr:component name="test_required_multiple_static" |
| 121 | enabled="false" |
| 122 | configuration-policy="ignore"> |
| 123 | <implementation class="org.apache.felix.scr.integration.components.SimpleComponent" /> |
| 124 | <reference |
| 125 | name="ref" |
| 126 | interface="org.apache.felix.scr.integration.components.SimpleService" |
| 127 | cardinality="1..n" |
| 128 | policy="static" |
| 129 | bind="bindSimpleService" |
| 130 | unbind="unbindSimpleService" |
| 131 | /> |
| 132 | </scr:component> |
| 133 | |
| 134 | </components> |