blob: 02e6a6367bf05e6ceb5082d8e2e2a2929cf152c7 [file] [log] [blame]
David Jencks2fe519b2013-10-30 08:04:43 +00001<?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="client" enabled="true"
23 configuration-policy="ignore">
24 <implementation
25 class="org.apache.felix.scr.integration.components.circularFactory.FactoryClient" />
26 <service>
27 <provide
28 interface="org.apache.felix.scr.integration.components.circularFactory.FactoryClient" />
29 </service>
30 <reference name="Factory"
31 interface="org.osgi.service.component.ComponentFactory"
32 cardinality="0..1"
33 policy="dynamic"
34 bind="setFactory"
35 unbind="unsetFactory" />
36 <reference name="FactoryInstance"
37 interface="org.apache.felix.scr.integration.components.circularFactory.FactoryInstance"
38 cardinality="0..n"
39 policy="dynamic"
40 bind="setFactoryInstance"
41 unbind="unsetFactoryInstance" />
42 </scr:component>
43
44 <scr:component name="Factory" enabled="true"
45 configuration-policy="ignore" factory="factory">
46 <implementation
47 class="org.apache.felix.scr.integration.components.circularFactory.FactoryInstance" />
48 <service>
49 <provide
50 interface="org.apache.felix.scr.integration.components.circularFactory.FactoryInstance" />
51 </service>
52 </scr:component>
53
54
55</components>