|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.aries.util.tracker.BundleTrackerFactory
public class BundleTrackerFactory
This is the factory for BundleTracker
| Constructor Summary | |
|---|---|
BundleTrackerFactory()
|
|
| Method Summary | |
|---|---|
static Collection<List<org.osgi.util.tracker.BundleTracker>> |
getAllBundleTracker()
get all bundle tracker registered in this factory |
static List<org.osgi.util.tracker.BundleTracker> |
getBundleTrackerList(String bundleScope)
get bundle tracker based on bundle name and version |
static List<org.osgi.util.tracker.BundleTracker> |
getBundleTrackerList(String symbolicName,
org.osgi.framework.Version version)
get bundle tracker based on composite bundle's symbolicName and version |
static void |
registerBundleTracker(String bundleScope,
org.osgi.util.tracker.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<org.osgi.util.tracker.BundleTracker> getBundleTrackerList(String bundleScope)
bundleScope - composite bundle's - SymbolicName_Version
public static List<org.osgi.util.tracker.BundleTracker> getBundleTrackerList(String symbolicName,
org.osgi.framework.Version version)
symbolicName - composite bundle's symbolicNameversion - composite bundle's version
public static Collection<List<org.osgi.util.tracker.BundleTracker>> getAllBundleTracker()
public static void registerBundleTracker(String bundleScope,
org.osgi.util.tracker.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 | ||||||||||