Interface FactoryProvider


public interface FactoryProvider
  • Method Summary

    Modifier and Type
    Method
    Description
    <T> T
    provide(Class<T> clazz)
    Provides a factory used to create instances of the specified type
  • Method Details

    • provide

      <T> T provide(Class<T> clazz) throws TypeNotFoundException
      Provides a factory used to create instances of the specified type
      Type Parameters:
      T - The type of factory
      Parameters:
      clazz - The factory class
      Returns:
      The factory
      Throws:
      TypeNotFoundException - If the type provided has not been registered