Class JettyServerServiceTracker

  • All Implemented Interfaces:
    org.osgi.util.tracker.ServiceTrackerCustomizer

    public class JettyServerServiceTracker
    extends java.lang.Object
    implements org.osgi.util.tracker.ServiceTrackerCustomizer
    JettyServerServiceTracker Tracks instances of Jetty Servers, and configures them so that they can deploy webapps or ContextHandlers discovered from the OSGi environment.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object addingService​(org.osgi.framework.ServiceReference sr)  
      void modifiedService​(org.osgi.framework.ServiceReference reference, java.lang.Object service)  
      void removedService​(org.osgi.framework.ServiceReference reference, java.lang.Object service)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JettyServerServiceTracker

        public JettyServerServiceTracker()
    • Method Detail

      • addingService

        public java.lang.Object addingService​(org.osgi.framework.ServiceReference sr)
        Specified by:
        addingService in interface org.osgi.util.tracker.ServiceTrackerCustomizer
        See Also:
        ServiceTrackerCustomizer.addingService(org.osgi.framework.ServiceReference)
      • modifiedService

        public void modifiedService​(org.osgi.framework.ServiceReference reference,
                                    java.lang.Object service)
        Specified by:
        modifiedService in interface org.osgi.util.tracker.ServiceTrackerCustomizer
        See Also:
        ServiceTrackerCustomizer.modifiedService(org.osgi.framework.ServiceReference, java.lang.Object)
      • removedService

        public void removedService​(org.osgi.framework.ServiceReference reference,
                                   java.lang.Object service)
        Specified by:
        removedService in interface org.osgi.util.tracker.ServiceTrackerCustomizer
        See Also:
        ServiceTrackerCustomizer.removedService(org.osgi.framework.ServiceReference, java.lang.Object)