object Injector
- Alphabetic
- By Inheritance
- Injector
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- trait InjectorBootstrap extends AnyRef
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
apply(bootstrapBase: BootstrapContextModule, overrides: distage.BootstrapModule*): distage.Injector
Create a new Injector from a custom BootstrapContextModule
Create a new Injector from a custom BootstrapContextModule
- See also
BootstrapLocator and CglibBootstrap for a list available bootstrap modules
-
def
apply(overrides: distage.BootstrapModule*): distage.Injector
Create a new Injector
Create a new Injector
- overrides
Optional: Overrides of Injector's own bootstrap environment - injector itself is constructed with DI. They can be used to extend the Injector, e.g. add ability to inject config values
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
inherit(parent: distage.Locator): distage.Injector
Create a new injector inheriting configuration, hooks and object graph from a previous Injector's run
Create a new injector inheriting configuration, hooks and object graph from a previous Injector's run
- parent
Instances from parent Locator will be available as imports in new Injector's produce
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- object NoCogen extends InjectorBootstrap
- object NoProxies extends InjectorBootstrap
- object Standard extends InjectorBootstrap
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated @deprecated
- Deprecated
(Since version ) see corresponding Javadoc for more information.