Class PreprocessorTracker
java.lang.Object
org.osgi.util.tracker.ServiceTracker<T,org.osgi.framework.ServiceReference<T>>
org.apache.felix.http.base.internal.whiteboard.tracker.WhiteboardServiceTracker<org.osgi.service.servlet.whiteboard.Preprocessor>
org.apache.felix.http.base.internal.whiteboard.tracker.PreprocessorTracker
- All Implemented Interfaces:
org.osgi.util.tracker.ServiceTrackerCustomizer<org.osgi.service.servlet.whiteboard.Preprocessor,
org.osgi.framework.ServiceReference<org.osgi.service.servlet.whiteboard.Preprocessor>>
public final class PreprocessorTracker
extends WhiteboardServiceTracker<org.osgi.service.servlet.whiteboard.Preprocessor>
-
Field Summary
Fields inherited from class org.osgi.util.tracker.ServiceTracker
context, filter
-
Constructor Summary
ConstructorDescriptionPreprocessorTracker
(org.osgi.framework.BundleContext bundleContext, WhiteboardManager contextManager) Create a new tracker -
Method Summary
Modifier and TypeMethodDescriptionprotected WhiteboardServiceInfo<org.osgi.service.servlet.whiteboard.Preprocessor>
getServiceInfo
(org.osgi.framework.ServiceReference<org.osgi.service.servlet.whiteboard.Preprocessor> ref) Implemented by sub classes to create the correct whiteboard service info object.Methods inherited from class org.apache.felix.http.base.internal.whiteboard.tracker.WhiteboardServiceTracker
addingService, close, modifiedService, removedService
Methods inherited from class org.osgi.util.tracker.ServiceTracker
getService, getService, getServiceReference, getServiceReferences, getServices, getServices, getTracked, getTrackingCount, isEmpty, open, open, remove, size, waitForService
-
Constructor Details
-
PreprocessorTracker
public PreprocessorTracker(org.osgi.framework.BundleContext bundleContext, WhiteboardManager contextManager) Create a new tracker- Parameters:
bundleContext
- The bundle context.contextManager
- The context manager
-
-
Method Details
-
getServiceInfo
protected WhiteboardServiceInfo<org.osgi.service.servlet.whiteboard.Preprocessor> getServiceInfo(org.osgi.framework.ServiceReference<org.osgi.service.servlet.whiteboard.Preprocessor> ref) Description copied from class:WhiteboardServiceTracker
Implemented by sub classes to create the correct whiteboard service info object.- Specified by:
getServiceInfo
in classWhiteboardServiceTracker<org.osgi.service.servlet.whiteboard.Preprocessor>
- Parameters:
ref
- The service reference- Returns:
- A whiteboard service info
-