Interface ServiceTracker<T>

Type Parameters:
T - The type of the service object to be tracked

public interface ServiceTracker<T>
A ServiceTracker interface implementation can be used to get notified when a service object is (un)registered in a WhiteboardServiceRegistry.
  • Method Details

    • serviceRegistered

      void serviceRegistered(ServiceHolder<T> serviceHolder)
      Invoked when a service object is registered.
      Parameters:
      serviceHolder - the service object holder
    • serviceUnregistered

      void serviceUnregistered(ServiceHolder<T> serviceHolder)
      Invoked when a service object is unregistered.
      Parameters:
      serviceHolder - the service object holder