blob: 1ca586e00b15783294ecd96924dc67ec88d26d9b [file] [log] [blame]
David Jencks31732282014-01-07 00:12:31 +00001<?xml version="1.0" encoding="UTF-8"?>
2<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor
3 license agreements. See the NOTICE file distributed with this work for additional
4 information regarding copyright ownership. The ASF licenses this file to
5 you under the Apache License, Version 2.0 (the "License"); you may not use
6 this file except in compliance with the License. You may obtain a copy of
7 the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required
8 by applicable law or agreed to in writing, software distributed under the
9 License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
10 OF ANY KIND, either express or implied. See the License for the specific
11 language governing permissions and limitations under the License. -->
12<components xmlns:scr="http://www.osgi.org/xmlns/scr/v1.1.0">
13
14 <scr:component name="SimpleComponent"
15 configuration-policy="require">
16 <implementation class="org.apache.felix.scr.integration.components.deadlock.TestComponent" />
17 <service>
18 <provide interface='org.apache.felix.scr.integration.components.deadlock.TestComponent' />
19 </service>
20 <reference
21 name="Ref"
22 interface="java.lang.Object"
23 cardinality="0..1"
24 policy="dynamic"
25 bind="setRef"
26 unbind="unsetRef"
27 />
28 </scr:component>
29
30
31 <scr:component name="AsyncLocate"
32 immediate="true">
33 <implementation class="org.apache.felix.scr.integration.components.deadlock.Consumer" />
34 <reference
35 name="SimpleComponent"
36 interface="org.apache.felix.scr.integration.components.deadlock.TestComponent"
37 cardinality="0..1"
38 policy="dynamic"
39 bind="setSimpleComponent"
40 unbind="unsetSimpleComponent"
41 target='target="foo"'
42 />
43 </scr:component>
44
45</components>