package injector
- Alphabetic
- By Inheritance
- injector
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- trait AutoInject[T] extends AutoInjectable[T] with Injector
It is a basic automatic injection interface.
It is a basic automatic injection interface. Change use refuel.injector.AutoInjectCustomPriority or any Injector that inherits AutoInjectCustomPriority
- T
Type to register
- trait InjectOnce[T] extends AutoInject[T]
Inject only once.
Inject only once. Basically the same behavior as AutoInject, but the container is not indexed. If a class symbol that inherits InjectOnce is injected from a different location, an instance is created each time.
- T
Type to register
- trait Injector extends MetaMediation[Container]
- trait RecoveredInject[T] extends AutoInject[T] with Injector
This is registered as the weakest dependency that is applied when there is no injectable dependency.
This is registered as the weakest dependency that is applied when there is no injectable dependency.
- T
Type to register
Deprecated Type Members
- class AutoInjectCustomPriority[T] extends AutoInject[T]
Inject automatically by specifying priority.
Inject automatically by specifying priority.
This was been deprecated. If you want to use this feature, please declare your own trait with custom priority.
trait MyAutoInject[T] extends AutoInject[T] { override val injectionPriority: Int = AutoInject.DEFAULT_INJECTION_PRIORITY + 1 }
- T
Type to register
- Annotations
- @deprecated
- Deprecated
Define and use traits with custom priorities as needed
Value Members
- implicit def _containerInheritance[T](x: HiddenContainerShade[T]): T
- object AutoInject