object Injector
- Alphabetic
- By Inheritance
- Injector
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- class Gc extends InjectorBootstrap
- 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
-
def
apply(overrides: distage.BootstrapModule*): distage.Injector
Create a new Injector without garbage collection
-
def
apply(gcRoots: Set[distage.DIKey], bootstrapBase: BootstrapContextModule, overrides: distage.BootstrapModule*): distage.Injector
Create a new Injector with a different BootstrapContextModule
Create a new Injector with a different BootstrapContextModule
- See also
DefaultBootstrapContext and CglibBootstrap for a list available bootstraps
-
def
apply(gcRoots: Set[distage.DIKey], overrides: distage.BootstrapModule*): distage.Injector
Create a new Injector with garbage collection enabled
Create a new Injector with garbage collection enabled
GC will remove all bindings that aren’t transitive dependencies of the chosen GC root keys from the plan - they will never be instantiated.
- overrides
Modules with overrides or additions to Injector's bootstrap environment, They're used to extend the Injector, e.g. add ability to inject config values or use GC
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def bootstrap(bootstrapBase: BootstrapContextModule = CglibBootstrap.cogenBootstrap, overrides: distage.BootstrapModule = BootstrapModule.empty): distage.Injector
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate() @throws( ... )
-
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 plugins, hooks and context from a previous Injector's run
Create a new injector inheriting plugins, hooks and context from a previous Injector's run
Instances from parent will be available as imports in the 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
- @native() @throws( ... )
-
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
create(parent: distage.Locator): distage.Injector
Create a new injector inheriting plugins, hooks and context from a previous Injector's run
Create a new injector inheriting plugins, hooks and context from a previous Injector's run
Instances from parent will be available as imports in the new Injector's produce
- Annotations
- @deprecated
- Deprecated
(Since version 2018-10-30) Use Injector.inherit
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
- Deprecated
(Since version ) see corresponding Javadoc for more information.
-
def
noReflection(overrides: distage.BootstrapModule*): distage.Injector
- Annotations
- @deprecated
- Deprecated
(Since version 2018-10-29) Use Injector.NoCogen
-
def
noReflection: distage.Injector
- Annotations
- @deprecated
- Deprecated
(Since version 2018-10-29) Use Injector.NoCogen