Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmitry Sklyut2011-03-04 12:48:01 -0500
committerDmitry Sklyut2011-03-04 12:48:01 -0500
commitebeb2f75923102e95b3d304054ab66d670f241c6 (patch)
tree29e0c0220b3a5a282471410386b4c9bc287ab020 /org.eclipse.virgo.kernel.services
parent6d28bd05f7fff4b56d2373176db3078ff5d4199f (diff)
downloadorg.eclipse.virgo.kernel-ebeb2f75923102e95b3d304054ab66d670f241c6.tar.gz
org.eclipse.virgo.kernel-ebeb2f75923102e95b3d304054ab66d670f241c6.tar.xz
org.eclipse.virgo.kernel-ebeb2f75923102e95b3d304054ab66d670f241c6.zip
bug325735 - support deployment of config for managed service factory
Diffstat (limited to 'org.eclipse.virgo.kernel.services')
-rw-r--r--org.eclipse.virgo.kernel.services/src/main/resources/META-INF/spring/repository-context.xml3
-rw-r--r--org.eclipse.virgo.kernel.services/template.mf1
2 files changed, 4 insertions, 0 deletions
diff --git a/org.eclipse.virgo.kernel.services/src/main/resources/META-INF/spring/repository-context.xml b/org.eclipse.virgo.kernel.services/src/main/resources/META-INF/spring/repository-context.xml
index c8a3de66..2335409b 100644
--- a/org.eclipse.virgo.kernel.services/src/main/resources/META-INF/spring/repository-context.xml
+++ b/org.eclipse.virgo.kernel.services/src/main/resources/META-INF/spring/repository-context.xml
@@ -48,6 +48,9 @@
<bean id="propertiesBridge" class="org.eclipse.virgo.kernel.artifact.properties.PropertiesBridge">
<constructor-arg ref="hashGenerator"/>
+ <constructor-arg>
+ <osgi:reference interface="org.osgi.service.cm.ConfigurationAdmin"/>
+ </constructor-arg>
</bean>
<osgi:service ref="propertiesBridge" interface="org.eclipse.virgo.repository.ArtifactBridge"/>
diff --git a/org.eclipse.virgo.kernel.services/template.mf b/org.eclipse.virgo.kernel.services/template.mf
index 97f8e042..6e06cb1d 100644
--- a/org.eclipse.virgo.kernel.services/template.mf
+++ b/org.eclipse.virgo.kernel.services/template.mf
@@ -13,6 +13,7 @@ Import-Template:
org.aspectj.*;version="${org.aspectj:[=.=.=.=, +1)}",
org.slf4j.*;version="${org.slf4j:[=.=.=, +1)}",
org.osgi.framework.*;version="0",
+ org.osgi.service.cm.*;version="0",
org.springframework.*;version="${org.springframework:[2.5.6, =.+1)}",
javax.management.*;version="0",
javax.xml.*;version="0",

Back to the top