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