com.springsource.util.osgi
Interface PackageAdminUtil

All Known Implementing Classes:
StandardPackageAdminUtil

public interface PackageAdminUtil

PackageAdminUtil provides utilities relating to PackageAdmin.

Concurrent Semantics
Implementations of this class must be thread safe.

Since:
Jersey
Author:
Glyn Normington

Method Summary
 void refreshPackages(org.osgi.framework.Bundle[] bundles, long timeoutMillis)
          Issue refreshPackages and wait for at most the given timeout for the asynchronous refresh operation to complete.
 

Method Detail

refreshPackages

void refreshPackages(org.osgi.framework.Bundle[] bundles,
                     long timeoutMillis)
Issue refreshPackages and wait for at most the given timeout for the asynchronous refresh operation to complete.

Parameters:
bundles - the Bundles whose exported packages are to be refreshed or null for all Bundles updated or uninstalled since refreshPackages was last called
timeoutMillis - a number of milliseconds to wait for the asynchronous refresh operation to complete