blob: 7b224ac09922992514c53f64bf05796c022d2767 [file] [log] [blame]
Felix Meschberger3ce511d2012-03-08 05:55:06 +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>
21 <scr:component name="components.mutable.properties"
Felix Meschbergereba6a492012-05-09 18:25:22 +000022 xmlns:scr="http://felix.apache.org/xmlns/scr/v1.2.0-felix"
Felix Meschberger3ce511d2012-03-08 05:55:06 +000023 enabled="true"
24 configuration-policy="optional"
25 activate="activate"
26 modified="modified">
27 <implementation class="org.apache.felix.scr.integration.components.MutatingServiceImpl" />
28 <service>
29 <provide interface="org.apache.felix.scr.integration.components.MutatingService" />
30 </service>
31 <property name="service.pid" value="components.mutable.properties" />
32 <property name="theValue" value="otherValue" />
33 <property name="p1" value="p1" />
34 <property name="p2" value="p2" />
35 </scr:component>
Felix Meschberger141b20b2012-05-12 03:24:26 +000036
37 <scr:component name="components.mutable.properties.return"
Felix Meschbergereba6a492012-05-09 18:25:22 +000038 xmlns:scr="http://felix.apache.org/xmlns/scr/v1.2.0-felix"
39 enabled="true"
40 configuration-policy="optional"
41 activate="activateMutate"
42 modified="modifiedMutate"
43 deactivate="deactivateMutate">
44 <implementation class="org.apache.felix.scr.integration.components.MutatingServiceImpl" />
45 <service>
46 <provide interface="org.apache.felix.scr.integration.components.MutatingService" />
47 </service>
Felix Meschberger141b20b2012-05-12 03:24:26 +000048 <property name="service.pid" value="components.mutable.properties.return" />
Felix Meschbergereba6a492012-05-09 18:25:22 +000049 <property name="theValue" value="otherValue" />
50 <property name="p1" value="p1" />
51 <property name="p2" value="p2" />
52 </scr:component>
Felix Meschberger141b20b2012-05-12 03:24:26 +000053
David Jencks998e4da2012-06-05 01:08:12 +000054 <scr:component name="components.mutable.properties.return.public"
55 xmlns:scr="http://felix.apache.org/xmlns/scr/v1.2.0-felix"
56 enabled="true"
57 configuration-policy="optional"
58 activate="activateMutate"
59 modified="modifiedMutate"
60 deactivate="deactivateMutate">
61 <implementation class="org.apache.felix.scr.integration.components.MutatingServiceImpl" />
62 <service>
63 <provide interface="org.apache.felix.scr.integration.components.MutatingService" />
64 </service>
65 <property name="service.pid" value="components.mutable.properties.return.public" />
66 <property name="theValue" value="otherValue" />
67 <property name="p1" value="p1" />
68 <property name="p2" value="p2" />
69 <property name=".p2" value="p2" />
70 </scr:component>
71
Felix Meschberger141b20b2012-05-12 03:24:26 +000072 <scr:component name="components.mutable.properties.bind"
73 xmlns:scr="http://felix.apache.org/xmlns/scr/v1.2.0-felix"
74 enabled="true"
75 configuration-policy="optional"
76 activate="activateMutate"
77 modified="modifiedMutate"
78 deactivate="deactivateMutate">
79 <implementation class="org.apache.felix.scr.integration.components.MutatingServiceImpl"/>
80 <service>
81 <provide interface="org.apache.felix.scr.integration.components.MutatingService"/>
82 </service>
83 <reference
84 name="simpleService"
85 interface="org.apache.felix.scr.integration.components.SimpleService"
86 cardinality="0..1"
87 policy="dynamic"
88 bind="bindSimpleService"
89 unbind="unbindSimpleService"
90 updated="updateSimpleService"
91 />
92 <property name="service.pid" value="components.mutable.properties.bind"/>
93 <property name="theValue" value="otherValue"/>
94 <property name="p1" value="p1"/>
95 <property name="p2" value="p2"/>
96 </scr:component>
Felix Meschberger3ce511d2012-03-08 05:55:06 +000097</components>