FELIX-4964 Activate a component at most once from a service event
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1691760 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/scr/src/test/resources/integration_test_locate.xml b/scr/src/test/resources/integration_test_locate.xml
index 1ca586e..9e285c8 100644
--- a/scr/src/test/resources/integration_test_locate.xml
+++ b/scr/src/test/resources/integration_test_locate.xml
@@ -11,7 +11,7 @@
language governing permissions and limitations under the License. -->
<components xmlns:scr="http://www.osgi.org/xmlns/scr/v1.1.0">
- <scr:component name="SimpleComponent"
+ <scr:component name="TestComponent"
configuration-policy="require">
<implementation class="org.apache.felix.scr.integration.components.deadlock.TestComponent" />
<service>
@@ -28,17 +28,17 @@
</scr:component>
- <scr:component name="AsyncLocate"
+ <scr:component name="Consumer"
immediate="true">
<implementation class="org.apache.felix.scr.integration.components.deadlock.Consumer" />
<reference
- name="SimpleComponent"
+ name="TestComponent"
interface="org.apache.felix.scr.integration.components.deadlock.TestComponent"
cardinality="0..1"
policy="dynamic"
- bind="setSimpleComponent"
- unbind="unsetSimpleComponent"
- target='target="foo"'
+ bind="setTestComponent"
+ unbind="unsetTestComponent"
+ target='(target=foo)'
/>
</scr:component>