Module poodinis.context

Contains the implementation of application context setup.

Part of the Poodinis Dependency Injection framework.

Functions

NameDescription
registerContext(container) Register dependencies through an application context.

Structs

NameDescription
Component A component annotation is used for specifying which factory methods produce components in an application context.
Prototype Components with the prototype registration will be scoped as dependencies which will create new instances every time they are resolved. The factory method will be called repeatedly.
RegisterByType This annotation allows you to specify by which super type the component should be registered. This enables you to use type-qualified alternatives for dependencies.