Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.virgo.kernel.deployer/src/main/resources/META-INF/spring/deployer-context.xml')
-rw-r--r--org.eclipse.virgo.kernel.deployer/src/main/resources/META-INF/spring/deployer-context.xml13
1 files changed, 4 insertions, 9 deletions
diff --git a/org.eclipse.virgo.kernel.deployer/src/main/resources/META-INF/spring/deployer-context.xml b/org.eclipse.virgo.kernel.deployer/src/main/resources/META-INF/spring/deployer-context.xml
index 0a41f09b..09e3bca0 100644
--- a/org.eclipse.virgo.kernel.deployer/src/main/resources/META-INF/spring/deployer-context.xml
+++ b/org.eclipse.virgo.kernel.deployer/src/main/resources/META-INF/spring/deployer-context.xml
@@ -156,14 +156,7 @@
<beans:bean id="plumber"
class="org.eclipse.virgo.kernel.deployer.core.internal.Plumber">
- <beans:constructor-arg>
- <beans:bean factory-method="getPackageAdmin"
- class="org.eclipse.virgo.kernel.deployer.core.internal.RegionAwarePackageAdminAccessor">
- <beans:constructor-arg>
- <reference interface="org.eclipse.virgo.kernel.osgi.region.Region" />
- </beans:constructor-arg>
- </beans:bean>
- </beans:constructor-arg>
+ <beans:constructor-arg ref="packageAdmin" />
<beans:constructor-arg ref="bundleContext" />
<beans:constructor-arg ref="pipelineFactory" />
<beans:constructor-arg ref="quasiFrameworkFactory" />
@@ -266,10 +259,12 @@
<beans:constructor-arg ref="bundleStarter" />
<beans:constructor-arg ref="tracingService" />
<beans:constructor-arg ref="packageAdminUtil" />
- <beans:constructor-arg value="#{region.getBundleContext()}" />
+ <beans:constructor-arg ref="userBundleContext" />
<beans:constructor-arg ref="eventLogger" />
<beans:constructor-arg ref="artifactIdentityDeterminer" />
</beans:bean>
+
+ <reference id="userBundleContext" interface="org.osgi.framework.BundleContext" filter="(org.eclipse.virgo.kernel.regionContext=true)"/>
<service ref="bundleInstallArtifactTreeFactory"
interface="org.eclipse.virgo.kernel.install.artifact.InstallArtifactTreeFactory" />

Back to the top