DependencyInjectionConfig
Configuration class for dependency injection settings and behavior customization.
This class allows customization of the reflection mechanism, the dependency provider, and various behaviors of the dependency injection framework.
See also
Properties
Determines how conflicts between dependency declarations are handled. Defaults to DefaultConflictPolicy
in normal mode or IgnoreConflicts
in test mode.
Defines how type covariance is handled when resolving dependencies. Defaults to DefaultKeyCovariance
.
A callback invoked when a duplicate dependency is detected. Defaults to throwing a DuplicateDependencyException
.
A callback invoked when the application stops. Defaults to closing all instances of AutoCloseable
.
Specifies the mechanism used to create new instances of dependencies via reflection. Defaults to DefaultReflection
.