|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.aries.util.tracker.BundleTrackerFactory
public class BundleTrackerFactory
This is the factory for BundleTracker
Constructor Summary | |
---|---|
BundleTrackerFactory()
|
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BundleTrackerFactory()
Method Detail |
---|
public static List<BundleTracker> getBundleTrackerList(String bundleScope)
bundleScope
- composite bundle's - SymbolicName_Version
public static List<BundleTracker> getBundleTrackerList(String symbolicName, Version version)
symbolicName
- composite bundle's symbolicNameversion
- composite bundle's version
public 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_Version
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |