Class RestPublisher.JaxRsServiceTracker

java.lang.Object
org.osgi.util.tracker.ServiceTracker<Object,Object>
org.opencastproject.kernel.rest.RestPublisher.JaxRsServiceTracker
All Implemented Interfaces:
org.osgi.util.tracker.ServiceTrackerCustomizer<Object,Object>
Enclosing class:
RestPublisher

public class RestPublisher.JaxRsServiceTracker extends org.osgi.util.tracker.ServiceTracker<Object,Object>
A custom ServiceTracker that published JAX-RS annotated services with the RestConstants.SERVICE_PATH_PROPERTY property set to some non-null value.
  • Field Summary

    Fields inherited from class org.osgi.util.tracker.ServiceTracker

    context, filter
  • Method Summary

    Modifier and Type
    Method
    Description
    addingService(org.osgi.framework.ServiceReference<Object> reference)
     
    void
    removedService(org.osgi.framework.ServiceReference<Object> reference, Object service)
     

    Methods inherited from class org.osgi.util.tracker.ServiceTracker

    close, getService, getService, getServiceReference, getServiceReferences, getServices, getServices, getTracked, getTrackingCount, isEmpty, modifiedService, open, open, remove, size, waitForService

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • removedService

      public void removedService(org.osgi.framework.ServiceReference<Object> reference, Object service)
      Specified by:
      removedService in interface org.osgi.util.tracker.ServiceTrackerCustomizer<Object,Object>
      Overrides:
      removedService in class org.osgi.util.tracker.ServiceTracker<Object,Object>
    • addingService

      public Object addingService(org.osgi.framework.ServiceReference<Object> reference)
      Specified by:
      addingService in interface org.osgi.util.tracker.ServiceTrackerCustomizer<Object,Object>
      Overrides:
      addingService in class org.osgi.util.tracker.ServiceTracker<Object,Object>