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 java.lang.String NAME
      The name of the service registration property containing the name this this FilterFactory is registered with (value is "filterfactory.name").
    • Field Detail

      • NAME

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

      • getFilter

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