org.jboss.osgi.testing
Interface OSGiPackageAdmin


public interface OSGiPackageAdmin

An abstraction of the OSGi PackageAdmin service.

Since:
25-Sep-2008
Author:
Thomas.Diesler@jboss.org

Method Summary
 void refreshPackages(OSGiBundle[] bundles)
          Forces the update (replacement) or removal of packages exported by the specified bundles.
 boolean resolveBundles(OSGiBundle[] bundles)
          Resolve the specified bundles.
 

Method Detail

refreshPackages

void refreshPackages(OSGiBundle[] bundles)
Forces the update (replacement) or removal of packages exported by the specified bundles.

Parameters:
bundles - The bundles whose exported packages are to be updated or removed, or null for all bundles updated or uninstalled since the last call to this method.
See Also:
PackageAdmin#refreshPackages(org.osgi.framework.Bundle[])}

resolveBundles

boolean resolveBundles(OSGiBundle[] bundles)
Resolve the specified bundles.

Parameters:
bundles - The bundles to resolve or null to resolve all unresolved bundles installed in the Framework.
Returns:
true if all specified bundles are resolved
See Also:
PackageAdmin#resolveBundles(org.osgi.framework.Bundle[])}


Copyright © 2010. All Rights Reserved.