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.
Author:
John May
  • Method Summary

    Modifier and Type
    Method
    Description
    Class<?>[]
    Access the interfaces for a given class.
  • Method Details

    • 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