Interface FilterDescriptorManager


  • @Role
    public interface FilterDescriptorManager
    Manager FilterDescriptor related to classes.
    Since:
    5.2M1
    Version:
    $Id: 1661adc427929525aaf6cc5053df02c42abc6d5b $
    • Method Detail

      • getFilterDescriptor

        FilterDescriptor getFilterDescriptor​(Class<?>... interfaces)
        Parameters:
        interfaces - the interfaces implemented by the filter
        Returns:
        the filter descriptor
        Since:
        5.2
      • createFilterProxy

        <F> F createFilterProxy​(Object targetFilter,
                                Class<?>... interfaces)
        Helper for input module taking care of calling the right event when it exist, fallback on UnknownFilter or simply ignores it when the filter does not support it.
        Type Parameters:
        F - the class of the filter
        Parameters:
        interfaces - the interfaces implemented by the filter
        targetFilter - the actual filter to send events to
        Returns:
        the filter proxy
        Since:
        5.2
      • createFilterProxy

        <F> F createFilterProxy​(Object targetFilter,
                                ClassLoader loader,
                                Class<?>... interfaces)
        Helper for input module taking care of calling the right event when it exist, fallback on UnknownFilter or simply ignores it when the filter does not support it.
        Type Parameters:
        F - the class of the filter
        Parameters:
        interfaces - the interfaces implemented by the filter
        loader - the class loader to define the proxy class
        targetFilter - the actual filter to send events to
        Returns:
        the filter proxy
        Since:
        5.2M3
      • createCompositeFilter

        <F> F createCompositeFilter​(Object... filters)
        Helper for input module taking care of calling the right event when it exist, fallback on UnknownFilter or simply ignores it when the filter does not support it.
        Type Parameters:
        F - the class of the filter
        Parameters:
        filters - the actual filters to send events to
        Returns:
        the filter proxy
        Since:
        5.2
      • createCompositeFilter

        <F> F createCompositeFilter​(ClassLoader loader,
                                    Object... filters)
        Helper for input module taking care of calling the right event when it exist, fallback on UnknownFilter or simply ignores it when the filter does not support it.
        Type Parameters:
        F - the class of the filter
        Parameters:
        filters - the actual filters to send events to
        loader - the class loader to define the proxy class
        Returns:
        the filter proxy
        Since:
        5.2M3