Pierre De Rop | 794af6d | 2012-09-02 13:48:36 +0000 | [diff] [blame] | 1 | <?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 | <scr:component |
| 14 | name='org.apache.felix.scr.integration.components.concurrency.A' |
David Jencks | c2357ed | 2014-06-15 01:09:55 +0000 | [diff] [blame] | 15 | factory='AFactory' activate='start'> |
Pierre De Rop | 794af6d | 2012-09-02 13:48:36 +0000 | [diff] [blame] | 16 | <implementation |
| 17 | class='org.apache.felix.scr.integration.components.concurrency.A' /> |
| 18 | <reference name='b' |
| 19 | interface='org.apache.felix.scr.integration.components.concurrency.B' |
| 20 | bind='bindB' cardinality='0..n' policy='dynamic' /> |
| 21 | </scr:component> |
| 22 | |
| 23 | <scr:component |
| 24 | name='org.apache.felix.scr.integration.components.concurrency.B'> |
| 25 | <implementation |
| 26 | class='org.apache.felix.scr.integration.components.concurrency.B' /> |
| 27 | <service> |
| 28 | <provide interface='org.apache.felix.scr.integration.components.concurrency.B' /> |
| 29 | </service> |
| 30 | <reference name='c' |
| 31 | interface='org.apache.felix.scr.integration.components.concurrency.C' |
| 32 | bind='bindC' /> |
| 33 | </scr:component> |
| 34 | |
| 35 | <scr:component |
| 36 | name='org.apache.felix.scr.integration.components.concurrency.C' |
| 37 | factory='CFactory'> |
| 38 | <implementation |
| 39 | class='org.apache.felix.scr.integration.components.concurrency.C' /> |
| 40 | <service> |
| 41 | <provide interface='org.apache.felix.scr.integration.components.concurrency.C' /> |
| 42 | </service> |
| 43 | </scr:component> |
| 44 | |
| 45 | <scr:component enabled='false' |
| 46 | name='org.apache.felix.scr.integration.components.concurrency.AFactory' |
| 47 | activate='activate' deactivate='deactivate'> |
| 48 | <implementation |
| 49 | class='org.apache.felix.scr.integration.components.concurrency.AFactory' /> |
| 50 | <reference name='aFactory' |
| 51 | interface='org.osgi.service.component.ComponentFactory' bind='bindAFactory' |
| 52 | target='(component.factory=AFactory)' /> |
| 53 | </scr:component> |
| 54 | |
| 55 | <scr:component enabled='false' |
| 56 | name='org.apache.felix.scr.integration.components.concurrency.CFactory' |
| 57 | activate='activate' deactivate='deactivate'> |
| 58 | <implementation |
| 59 | class='org.apache.felix.scr.integration.components.concurrency.CFactory' /> |
| 60 | <reference name='cFactory' |
| 61 | interface='org.osgi.service.component.ComponentFactory' bind='bindCFactory' |
| 62 | target='(component.factory=CFactory)' /> |
| 63 | </scr:component> |
| 64 | </components> |