Class 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.osgi.framework.ServiceReference<org.osgi.service.servlet.context.ServletContextHelper> addingService​(@NotNull org.osgi.framework.ServiceReference<org.osgi.service.servlet.context.ServletContextHelper> ref)  
      void close()  
      void modifiedService​(@NotNull org.osgi.framework.ServiceReference<org.osgi.service.servlet.context.ServletContextHelper> ref, @NotNull org.osgi.framework.ServiceReference<org.osgi.service.servlet.context.ServletContextHelper> service)  
      void removedService​(@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 Detail

      • ServletContextHelperTracker

        public ServletContextHelperTracker​(@NotNull
                                           @NotNull org.osgi.framework.BundleContext context,
                                           @NotNull
                                           @NotNull WhiteboardManager manager)
    • Method Detail

      • close

        public void close()
        Overrides:
        close in class org.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:
        addingService in interface org.osgi.util.tracker.ServiceTrackerCustomizer<org.osgi.service.servlet.context.ServletContextHelper,​org.osgi.framework.ServiceReference<org.osgi.service.servlet.context.ServletContextHelper>>
        Overrides:
        addingService in class org.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:
        modifiedService in interface org.osgi.util.tracker.ServiceTrackerCustomizer<org.osgi.service.servlet.context.ServletContextHelper,​org.osgi.framework.ServiceReference<org.osgi.service.servlet.context.ServletContextHelper>>
        Overrides:
        modifiedService in class org.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:
        removedService in interface org.osgi.util.tracker.ServiceTrackerCustomizer<org.osgi.service.servlet.context.ServletContextHelper,​org.osgi.framework.ServiceReference<org.osgi.service.servlet.context.ServletContextHelper>>
        Overrides:
        removedService in class org.osgi.util.tracker.ServiceTracker<org.osgi.service.servlet.context.ServletContextHelper,​org.osgi.framework.ServiceReference<org.osgi.service.servlet.context.ServletContextHelper>>