<!-- | |
~ Licensed to the Apache Software Foundation (ASF) under one | |
~ or more contributor license agreements. See the NOTICE file | |
~ distributed with this work for additional information | |
~ regarding copyright ownership. The ASF licenses this file | |
~ to you under the Apache License, Version 2.0 (the | |
~ "License"); you may not use this file except in compliance | |
~ with the License. You may obtain a copy of the License at | |
~ | |
~ http://www.apache.org/licenses/LICENSE-2.0 | |
~ | |
~ Unless required by applicable law or agreed to in writing, | |
~ software distributed under the License is distributed on an | |
~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | |
~ KIND, either express or implied. See the License for the | |
~ specific language governing permissions and limitations | |
~ under the License. | |
--> | |
<ipojo | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xmlns="org.apache.felix.ipojo" | |
> | |
<!-- Service Controller --> | |
<component classname="org.apache.felix.ipojo.runtime.core.components.controller.ControllerCheckService" | |
name="PS-Controller-1-default"> | |
<provides specifications="org.apache.felix.ipojo.runtime.core.services.FooService"> | |
<controller field="controller"/> | |
</provides> | |
<provides specifications="org.apache.felix.ipojo.runtime.core.services.CheckService"> | |
</provides> | |
</component> | |
<component classname="org.apache.felix.ipojo.runtime.core.components.controller.ControllerCheckService" | |
name="PS-Controller-1-false"> | |
<provides specifications="org.apache.felix.ipojo.runtime.core.services.FooService"> | |
<property name="test2" type="string" value="test2"/> | |
<controller field="controller" value="false"/> | |
<property name="test" type="string" value="test"/> | |
</provides> | |
<provides specifications="org.apache.felix.ipojo.runtime.core.services.CheckService"> | |
</provides> | |
</component> | |
<component classname="org.apache.felix.ipojo.runtime.core.components.controller.DoubleControllerCheckService" | |
name="PS-Controller-2-truetrue"> | |
<provides specifications="org.apache.felix.ipojo.runtime.core.services.FooService"> | |
<property name="test2" type="string" value="test2"/> | |
<controller field="controllerFoo" value="true"/> | |
<property name="test" type="string" value="test"/> | |
</provides> | |
<provides specifications="org.apache.felix.ipojo.runtime.core.services.CheckService"> | |
<controller field="controllerCS" value="true"/> | |
</provides> | |
</component> | |
<component classname="org.apache.felix.ipojo.runtime.core.components.controller.DoubleControllerCheckService" | |
name="PS-Controller-2-truefalse"> | |
<provides specifications="org.apache.felix.ipojo.runtime.core.services.FooService"> | |
<property name="test2" type="string" value="test2"/> | |
<controller field="controllerFoo" value="false"/> | |
<property name="test" type="string" value="test"/> | |
</provides> | |
<provides specifications="org.apache.felix.ipojo.runtime.core.services.CheckService"> | |
<controller field="controllerCS" value="true"/> | |
</provides> | |
</component> | |
<component classname="org.apache.felix.ipojo.runtime.core.components.controller.DoubleControllerCheckService" | |
name="PS-Controller-2-spec1"> | |
<provides> | |
<property name="test2" type="string" value="test2"/> | |
<controller field="controllerFoo" value="false" specification="org.apache.felix.ipojo.runtime.core.services.FooService"/> | |
<controller field="controllerCS" value="true" specification="org.apache.felix.ipojo.runtime.core.services.CheckService"/> | |
<property name="test" type="string" value="test"/> | |
</provides> | |
</component> | |
<component classname="org.apache.felix.ipojo.runtime.core.components.controller.DoubleControllerCheckService" | |
name="PS-Controller-2-spec2"> | |
<provides> | |
<property name="test2" type="string" value="test2"/> | |
<controller field="controllerFoo" value="true" specification="org.apache.felix.ipojo.runtime.core.services.FooService"/> | |
<controller field="controllerCS" value="true" specification="org.apache.felix.ipojo.runtime.core.services.CheckService"/> | |
<property name="test" type="string" value="test"/> | |
</provides> | |
</component> | |
<component classname="org.apache.felix.ipojo.runtime.core.components.controller.DoubleControllerCheckService" | |
name="PS-Controller-2-spec3"> | |
<provides> | |
<property name="test2" type="string" value="test2"/> | |
<controller field="controllerFoo" value="true" specification="org.apache.felix.ipojo.runtime.core.services.FooService"/> | |
<controller field="controllerCS" value="true"/> | |
<property name="test" type="string" value="test"/> | |
</provides> | |
</component> | |
<component classname="org.apache.felix.ipojo.runtime.core.components.controller.DoubleControllerCheckService" | |
name="PS-Controller-2-spec4"> | |
<provides> | |
<property name="test2" type="string" value="test2"/> | |
<controller field="controllerFoo" value="false" specification="org.apache.felix.ipojo.runtime.core.services.FooService"/> | |
<controller field="controllerCS" value="true"/> | |
<property name="test" type="string" value="test"/> | |
</provides> | |
</component> | |
</ipojo> |