Interface DynamicFactory.InterfaceProvider

  • All Known Implementing Classes:
    DynamicFactory.DefaultInterfaceProvider
    Enclosing class:
    DynamicFactory

    public static interface DynamicFactory.InterfaceProvider
    An interface that can provide which interfaces the given class implements. This interface is constructor injectable allowing us to test the registration using this method.
    • Method Detail

      • getInterfaces

        Class<?>[] getInterfaces​(Class<?> c)
        Access the interfaces for a given class.
        Parameters:
        c - the class to access the interfaces of
        Returns:
        a set of interfaces