Interface FilterFactory


@ConsumerType public interface FilterFactory
The FilterFactory defines the service interface to get and create Filter's dynamically on a per usage base.

Implementations of this interface must be defined as OSGi services and define a service property NAME which is used to select the FilterFactory when a request parameter with the name filter.<name> is provided with the request.

  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    The name of the service registration property containing the name this this FilterFactory is registered with (value is "filterfactory.name").
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns a Filter instance which may be initialized with the specified value.
  • Field Details

    • NAME

      static final String NAME
      The name of the service registration property containing the name this this FilterFactory is registered with (value is "filterfactory.name").
      See Also:
  • Method Details

    • getFilter

      Filter<Resource> getFilter(String value)
      Returns a Filter instance which may be initialized with the specified value.
      Parameters:
      value - Filter value
      Returns:
      Filter instance