Interface ResourceHandler

All Known Subinterfaces:
ResourceDependency

public interface ResourceHandler
Service interface for anybody wanting to be notified of changes to resources.
Author:
Felix Project Team
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Name of the property that's used to describe the filter condition for a resource.
    static final String
    The host part of the URL.
    static final String
    The path part of the URL.
    static final String
    The port part of the URL.
    static final String
    The protocol part of the URL.
    static final String
    Exact URL that this handler is looking for.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    added(URL resource)
    Deprecated.
    Please use added(URL, Dictionary) instead.
    void
    added(URL resource, Dictionary<?,?> resourceProperties)
    Invoked whenever a new resource is added.
    void
    changed(URL resource)
    Deprecated.
    Please use changed(URL, Dictionary) instead.
    void
    changed(URL resource, Dictionary<?,?> resourceProperties)
    Invoked whenever an existing resource changes.
    void
    removed(URL resource)
    Deprecated.
    Please use removed(URL, Dictionary) instead.
    void
    removed(URL resource, Dictionary<?,?> resourceProperties)
    Invoked whenever an existing resource is removed.
  • Field Details

  • Method Details

    • added

      void added(URL resource)
      Deprecated.
      Please use added(URL, Dictionary) instead. When both are specified, the new method takes precedence and the deprecated one is not invoked.
    • added

      void added(URL resource, Dictionary<?,?> resourceProperties)
      Invoked whenever a new resource is added.
    • changed

      void changed(URL resource)
      Deprecated.
      Please use changed(URL, Dictionary) instead. When both are specified, the new method takes precedence and the deprecated one is not invoked.
    • changed

      void changed(URL resource, Dictionary<?,?> resourceProperties)
      Invoked whenever an existing resource changes.
    • removed

      void removed(URL resource)
      Deprecated.
      Please use removed(URL, Dictionary) instead. When both are specified, the new method takes precedence and the deprecated one is not invoked.
    • removed

      void removed(URL resource, Dictionary<?,?> resourceProperties)
      Invoked whenever an existing resource is removed.