Get accessible dependencies.
Get accessible dependencies. You can detect errors that can not be assigned at compile time.
It is faster than com.phylage.scaladia.injector.Injector.inject because of immediate assignment, but the dependency injected at compile time is determined, and this assignment can not be overwritten with "flush" or "narrow".
The scope to which this immediate assignment applies is all the same instances that inherit com.phylage.scaladia.injector.AutoInjectable.
Injection type
Container
Accessor (This refers to itself)
This refers to itself
This refers to itself
Implicitly container
Implicitly container
Get accessible dependencies.
Get accessible dependencies.
The type information is resolved at compile time, but the injection object is finalized at runtime. This function is slower than com.phylage.scaladia.injector.Injector.confirm, but can be overwritten by flush or narrow.
Injection type
Container
Accessor (This refers to itself)
Gets an indexer for registering new dependencies.
Gets an indexer for registering new dependencies. By default, the dependency priority is set to maximum.
new dependency type
new dependency
Injection priority.
Manually register the new dependency.
Manually register the new dependency.
new dependency type
new dependency.
Injection priority.
Provide dependency.
Provide dependency.
Variable type
Stored dependency object.
It is a rule class to use Injection container.