Class ServletContextHelperTracker
java.lang.Object
org.osgi.util.tracker.ServiceTracker<org.osgi.service.servlet.context.ServletContextHelper,org.osgi.framework.ServiceReference<org.osgi.service.servlet.context.ServletContextHelper>>
org.apache.felix.http.base.internal.whiteboard.tracker.ServletContextHelperTracker
- All Implemented Interfaces:
org.osgi.util.tracker.ServiceTrackerCustomizer<org.osgi.service.servlet.context.ServletContextHelper,org.osgi.framework.ServiceReference<org.osgi.service.servlet.context.ServletContextHelper>>
public final class ServletContextHelperTracker
extends org.osgi.util.tracker.ServiceTracker<org.osgi.service.servlet.context.ServletContextHelper,org.osgi.framework.ServiceReference<org.osgi.service.servlet.context.ServletContextHelper>>
Tracks all
ServletContextHelper services.-
Field Summary
Fields inherited from class org.osgi.util.tracker.ServiceTracker
context, filter -
Constructor Summary
ConstructorsConstructorDescriptionServletContextHelperTracker(@NotNull org.osgi.framework.BundleContext context, @NotNull WhiteboardManager manager) -
Method Summary
Modifier and TypeMethodDescriptionfinal org.osgi.framework.ServiceReference<org.osgi.service.servlet.context.ServletContextHelper>addingService(@NotNull org.osgi.framework.ServiceReference<org.osgi.service.servlet.context.ServletContextHelper> ref) voidclose()final voidmodifiedService(@NotNull org.osgi.framework.ServiceReference<org.osgi.service.servlet.context.ServletContextHelper> ref, @NotNull org.osgi.framework.ServiceReference<org.osgi.service.servlet.context.ServletContextHelper> service) final voidremovedService(@NotNull org.osgi.framework.ServiceReference<org.osgi.service.servlet.context.ServletContextHelper> ref, @NotNull org.osgi.framework.ServiceReference<org.osgi.service.servlet.context.ServletContextHelper> service) 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
-
ServletContextHelperTracker
public ServletContextHelperTracker(@NotNull @NotNull org.osgi.framework.BundleContext context, @NotNull @NotNull WhiteboardManager manager)
-
-
Method Details
-
close
public void close()- Overrides:
closein classorg.osgi.util.tracker.ServiceTracker<org.osgi.service.servlet.context.ServletContextHelper,org.osgi.framework.ServiceReference<org.osgi.service.servlet.context.ServletContextHelper>>
-
addingService
public final org.osgi.framework.ServiceReference<org.osgi.service.servlet.context.ServletContextHelper> addingService(@NotNull @NotNull org.osgi.framework.ServiceReference<org.osgi.service.servlet.context.ServletContextHelper> ref) - Specified by:
addingServicein interfaceorg.osgi.util.tracker.ServiceTrackerCustomizer<org.osgi.service.servlet.context.ServletContextHelper,org.osgi.framework.ServiceReference<org.osgi.service.servlet.context.ServletContextHelper>> - Overrides:
addingServicein classorg.osgi.util.tracker.ServiceTracker<org.osgi.service.servlet.context.ServletContextHelper,org.osgi.framework.ServiceReference<org.osgi.service.servlet.context.ServletContextHelper>>
-
modifiedService
public final void modifiedService(@NotNull @NotNull org.osgi.framework.ServiceReference<org.osgi.service.servlet.context.ServletContextHelper> ref, @NotNull @NotNull org.osgi.framework.ServiceReference<org.osgi.service.servlet.context.ServletContextHelper> service) - Specified by:
modifiedServicein interfaceorg.osgi.util.tracker.ServiceTrackerCustomizer<org.osgi.service.servlet.context.ServletContextHelper,org.osgi.framework.ServiceReference<org.osgi.service.servlet.context.ServletContextHelper>> - Overrides:
modifiedServicein classorg.osgi.util.tracker.ServiceTracker<org.osgi.service.servlet.context.ServletContextHelper,org.osgi.framework.ServiceReference<org.osgi.service.servlet.context.ServletContextHelper>>
-
removedService
public final void removedService(@NotNull @NotNull org.osgi.framework.ServiceReference<org.osgi.service.servlet.context.ServletContextHelper> ref, @NotNull @NotNull org.osgi.framework.ServiceReference<org.osgi.service.servlet.context.ServletContextHelper> service) - Specified by:
removedServicein interfaceorg.osgi.util.tracker.ServiceTrackerCustomizer<org.osgi.service.servlet.context.ServletContextHelper,org.osgi.framework.ServiceReference<org.osgi.service.servlet.context.ServletContextHelper>> - Overrides:
removedServicein classorg.osgi.util.tracker.ServiceTracker<org.osgi.service.servlet.context.ServletContextHelper,org.osgi.framework.ServiceReference<org.osgi.service.servlet.context.ServletContextHelper>>
-