Class WABundleRefresher
java.lang.Object
org.apache.sling.installer.core.impl.util.WABundleRefresher
- All Implemented Interfaces:
EventListener
,BundleRefresher
,org.osgi.framework.FrameworkListener
public class WABundleRefresher
extends Object
implements BundleRefresher, org.osgi.framework.FrameworkListener
Implementation of the bundle refresher based on framework wiring.
-
Constructor Summary
ConstructorDescriptionWABundleRefresher
(org.osgi.framework.wiring.FrameworkWiring wiring, org.osgi.framework.BundleContext bundleContext) -
Method Summary
Modifier and TypeMethodDescriptionvoid
frameworkEvent
(org.osgi.framework.FrameworkEvent event) boolean
isInstallerBundleAffected
(List<org.osgi.framework.Bundle> bundles) void
refreshBundles
(InstallationContext ctx, List<org.osgi.framework.Bundle> bundles, boolean wait)
-
Constructor Details
-
WABundleRefresher
public WABundleRefresher(org.osgi.framework.wiring.FrameworkWiring wiring, org.osgi.framework.BundleContext bundleContext)
-
-
Method Details
-
refreshBundles
public void refreshBundles(InstallationContext ctx, List<org.osgi.framework.Bundle> bundles, boolean wait) - Specified by:
refreshBundles
in interfaceBundleRefresher
- See Also:
-
isInstallerBundleAffected
- Specified by:
isInstallerBundleAffected
in interfaceBundleRefresher
- See Also:
-
frameworkEvent
public void frameworkEvent(org.osgi.framework.FrameworkEvent event) - Specified by:
frameworkEvent
in interfaceorg.osgi.framework.FrameworkListener
- See Also:
-
FrameworkListener.frameworkEvent(org.osgi.framework.FrameworkEvent)
-