Interface FactoryCreator
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
An object capable of providing factories that produce an instance for a given class name.
-
Method Summary
-
Method Details
-
factoryOf
Returns aFactory
that will produce instances of the specified class.- Type Parameters:
T
- the type of the instances being produced- Parameters:
className
- the fully qualified name of the desired class- Returns:
- a
Factory
for the specified class
-