Class BundleContextProvider.ContextBundleTracker
java.lang.Object
org.osgi.util.tracker.BundleTracker<Object>
org.eclipse.jetty.osgi.BundleContextProvider.ContextBundleTracker
- All Implemented Interfaces:
org.osgi.util.tracker.BundleTrackerCustomizer<Object>
- Enclosing class:
BundleContextProvider
public class BundleContextProvider.ContextBundleTracker
extends org.osgi.util.tracker.BundleTracker<Object>
ContextBundleTracker
Track deployment of Bundles that should be deployed to Jetty as contexts.
-
Field Summary
FieldsFields inherited from class org.osgi.util.tracker.BundleTracker
context -
Constructor Summary
ConstructorsConstructorDescriptionContextBundleTracker(org.osgi.framework.BundleContext bundleContext, String serverName) -
Method Summary
Modifier and TypeMethodDescriptionaddingBundle(org.osgi.framework.Bundle bundle, org.osgi.framework.BundleEvent event) voidremovedBundle(org.osgi.framework.Bundle bundle, org.osgi.framework.BundleEvent event, Object object) Methods inherited from class org.osgi.util.tracker.BundleTracker
close, getBundles, getObject, getTracked, getTrackingCount, isEmpty, modifiedBundle, open, remove, size
-
Field Details
-
_serverName
-
-
Constructor Details
-
ContextBundleTracker
- Parameters:
bundleContext- our bundleserverName- the Server instance to which we will deploy contexts
-
-
Method Details
-
addingBundle
-
removedBundle
-