- Enclosing class:
Component
A factory for a component. Components may have a single nested
interface
annotated with @Component.Factory.
A factory is an interface with a single method that returns a new component instance each time it is called. The parameters of that method provide the bound instances required by the component.
The generated implementation of the factory will be immutable.