public class PABundleRefresher extends Object implements BundleRefresher, org.osgi.framework.FrameworkListener
Constructor and Description |
---|
PABundleRefresher(org.osgi.service.packageadmin.PackageAdmin pa,
org.osgi.framework.BundleContext bundleContext) |
Modifier and Type | Method and Description |
---|---|
void |
frameworkEvent(org.osgi.framework.FrameworkEvent event) |
boolean |
isInstallerBundleAffected(List<Bundle> bundles)
Check whether a bundle refresh would affect the installer bundle
|
void |
refreshBundles(InstallationContext ctx,
List<Bundle> bundles,
boolean wait) |
public PABundleRefresher(org.osgi.service.packageadmin.PackageAdmin pa, org.osgi.framework.BundleContext bundleContext)
public void refreshBundles(InstallationContext ctx, List<Bundle> bundles, boolean wait)
refreshBundles
in interface BundleRefresher
BundleRefresher.refreshBundles(org.apache.sling.installer.api.tasks.InstallationContext, java.util.List, boolean)
public boolean isInstallerBundleAffected(List<Bundle> bundles)
isInstallerBundleAffected
in interface BundleRefresher
BundleRefresher.isInstallerBundleAffected(java.util.List)
public void frameworkEvent(org.osgi.framework.FrameworkEvent event)
frameworkEvent
in interface org.osgi.framework.FrameworkListener
FrameworkListener.frameworkEvent(org.osgi.framework.FrameworkEvent)
Copyright © 2007–2014 The Apache Software Foundation. All rights reserved.