- Enclosing class:
Component
This annotation goes on an interface.
The interface definition must be nested inside the component interface.
The factory interface must have exactly one interface method.
The factory method's return type must match the type of the component class.