Clement Escoffier | ed4ca02 | 2013-03-13 15:27:20 +0000 | [diff] [blame] | 1 | <!--
|
| 2 | ~ Licensed to the Apache Software Foundation (ASF) under one
|
| 3 | ~ or more contributor license agreements. See the NOTICE file
|
| 4 | ~ distributed with this work for additional information
|
| 5 | ~ regarding copyright ownership. The ASF licenses this file
|
| 6 | ~ to you under the Apache License, Version 2.0 (the
|
| 7 | ~ "License"); you may not use this file except in compliance
|
| 8 | ~ with the License. You may obtain a copy of the License at
|
| 9 | ~
|
| 10 | ~ http://www.apache.org/licenses/LICENSE-2.0
|
| 11 | ~
|
| 12 | ~ Unless required by applicable law or agreed to in writing,
|
| 13 | ~ software distributed under the License is distributed on an
|
| 14 | ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
| 15 | ~ KIND, either express or implied. See the License for the
|
| 16 | ~ specific language governing permissions and limitations
|
| 17 | ~ under the License.
|
| 18 | -->
|
| 19 |
|
Clement Escoffier | e698656 | 2013-02-22 18:55:31 +0000 | [diff] [blame] | 20 | <ipojo
|
| 21 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
| 22 | xsi:schemaLocation="org.apache.felix.ipojo http://felix.apache.org/ipojo/schemas/SNAPSHOT/core.xsd"
|
| 23 | xmlns="org.apache.felix.ipojo"
|
| 24 | >
|
| 25 | <!-- Simple provider used for manipulation analysis -->
|
| 26 | <component
|
| 27 | classname="org.apache.felix.ipojo.runtime.core.components.FooProviderType1"
|
| 28 | name="ManipulationCreation-FooProviderType-1" architecture="true">
|
| 29 | <provides/>
|
| 30 | </component>
|
| 31 |
|
| 32 | <!-- Non lazzy service provider, to check instantiation -->
|
| 33 | <component
|
| 34 | classname="org.apache.felix.ipojo.runtime.core.components.FooProviderType1"
|
| 35 | name="ManipulationCreation-ImmediateFooProviderType" immediate="true"
|
| 36 | architecture="true">
|
| 37 | <provides/>
|
| 38 | </component>
|
| 39 |
|
| 40 | <!-- Type checking different creation policy -->
|
| 41 | <component
|
| 42 | classname="org.apache.felix.ipojo.runtime.core.components.FooProviderType1"
|
| 43 | name="ManipulationCreation-FooProviderType-1-Sing" factory-method="singleton"
|
| 44 | architecture="true">
|
| 45 | <provides/>
|
| 46 | </component>
|
| 47 |
|
| 48 | <component
|
| 49 | classname="org.apache.felix.ipojo.runtime.core.components.FooProviderType1"
|
| 50 | name="ManipulationCreation-FooProviderType-1-Sev" factory-method="several"
|
| 51 | architecture="true">
|
| 52 | <provides/>
|
| 53 | </component>
|
| 54 |
|
| 55 | <component
|
| 56 | classname="org.apache.felix.ipojo.runtime.core.components.FooProviderType1"
|
| 57 | name="ManipulationCreation-FooProviderType-1-SingM" factory-method="singleton"
|
| 58 | architecture="true">
|
| 59 | <provides/>
|
| 60 | </component>
|
| 61 |
|
| 62 | <component
|
| 63 | classname="org.apache.felix.ipojo.runtime.core.components.FooProviderType1"
|
| 64 | name="ManipulationCreation-FooProviderType-1-SevM" factory-method="several"
|
| 65 | architecture="true">
|
| 66 | <provides/>
|
| 67 | </component>
|
| 68 |
|
| 69 | <component
|
| 70 | classname="org.apache.felix.ipojo.runtime.core.components.FooProviderType1"
|
| 71 | name="ManipulationCreation-ImmediateFooProviderTypeSingleton" immediate="true"
|
| 72 | factory-method="singleton" architecture="true">
|
| 73 | <provides/>
|
| 74 | </component>
|
| 75 |
|
| 76 |
|
| 77 | <!-- Try calling super constructors -->
|
| 78 | <component classname="org.apache.felix.ipojo.runtime.core.components.CallSuperConstructor" immediate="true"/>
|
| 79 | <component classname="org.apache.felix.ipojo.runtime.core.components.CallSuperConstructorWithNew" immediate="true"/>
|
| 80 | <component classname="org.apache.felix.ipojo.runtime.core.components.CallSuperConstructorWithBC" immediate="true"/>
|
| 81 | <component classname="org.apache.felix.ipojo.runtime.core.components.CallSuperSuperConstructorWithNew"
|
| 82 | immediate="true"/>
|
| 83 |
|
| 84 | <!-- Several constructors -->
|
| 85 | <component classname="org.apache.felix.ipojo.runtime.core.components.SeveralConstructors">
|
| 86 | <provides/>
|
| 87 | </component>
|
| 88 | <!-- No Empty constructor -->
|
| 89 | <component classname="org.apache.felix.ipojo.runtime.core.components.NoEmptyConstructor">
|
| 90 | <provides/>
|
| 91 | </component>
|
| 92 | <component classname="org.apache.felix.ipojo.runtime.core.components.NoEmptyConstructorWithParentClass">
|
| 93 | <provides/>
|
| 94 | </component>
|
| 95 | </ipojo>
|