Class ServiceTracker<S extends org.apache.wicket.util.io.IClusterable>

java.lang.Object
org.hippoecm.frontend.service.ServiceTracker<S>
Type Parameters:
S - the service interface class
All Implemented Interfaces:
Serializable, org.apache.wicket.util.io.IClusterable, IServiceTracker<S>
Direct Known Subclasses:
AbstractRenderService.ExtensionPoint

public class ServiceTracker<S extends org.apache.wicket.util.io.IClusterable> extends Object implements IServiceTracker<S>
Service tracker implementation that is aware of it's class.
See Also:
  • Constructor Details

    • ServiceTracker

      public ServiceTracker(Class<S> clazz)
  • Method Details

    • addService

      public final void addService(S service, String name)
      A service is being registered.
      Specified by:
      addService in interface IServiceTracker<S extends org.apache.wicket.util.io.IClusterable>
      Parameters:
      service - the service that is registered
      name - the name that was used to register the service tracker
    • removeService

      public final void removeService(S service, String name)
      A service is being unregistered.
      Specified by:
      removeService in interface IServiceTracker<S extends org.apache.wicket.util.io.IClusterable>
      Parameters:
      service - the service that is unregistered
      name - the name that was used to register the service tracker
    • onServiceAdded

      protected void onServiceAdded(S service, String name)
    • onServiceChanged

      protected void onServiceChanged(S service, String name)
    • onRemoveService

      protected void onRemoveService(S service, String name)