public class BundleTrackerFactory extends Object
| Constructor and Description |
|---|
BundleTrackerFactory() |
| Modifier and Type | Method and Description |
|---|---|
static Collection<List<BundleTracker>> |
getAllBundleTracker()
get all bundle tracker registered in this factory
|
static List<BundleTracker> |
getBundleTrackerList(String bundleScope)
get bundle tracker based on bundle name and version
|
static List<BundleTracker> |
getBundleTrackerList(String symbolicName,
Version version)
get bundle tracker based on composite bundle's symbolicName and version
|
static void |
registerBundleTracker(String bundleScope,
BundleTracker bt)
register the bundle tracker
|
static void |
unregisterAndCloseBundleTracker(String bundleScope)
unregister and close the bundle tracker(s) associated with composite
bundle's - SymbolicName_Version
|
public static List<BundleTracker> getBundleTrackerList(String bundleScope)
bundleScope - composite bundle's - SymbolicName_Versionpublic static List<BundleTracker> getBundleTrackerList(String symbolicName, Version version)
symbolicName - composite bundle's symbolicNameversion - composite bundle's versionpublic static Collection<List<BundleTracker>> getAllBundleTracker()
public static void registerBundleTracker(String bundleScope, BundleTracker bt)
bundleScope - composite bundle's SymbolicName_Versionbt - the bundle tracker to be registeredpublic static void unregisterAndCloseBundleTracker(String bundleScope)
bundleScope - composite bundle's - SymbolicName_VersionCopyright © 2010 - 2020 Adobe. All Rights Reserved