References

How Pixie resolves @Component dependencies

When a constructor parameter is annotated with @Component, Pixie resolves it by finding a matching component in the System. There are several ways this resolution can work:

ResolutionHow It WorksProperties Syntax
By TypeAutomatically find a component by type(omit the property)
By NameReference a specific component by namecart.processor = @stripe
CollectionsInject multiple components as a Listhelios.worlds = @earth @mars or omit for all
GenericsNarrow matching using generic type arguments(automatic)

All resolution modes work with components from any producer type — constructors, @Factory methods, @Builder patterns, and pre-built instances via system.add().