di/di library

Classes

AbstractInstanceProvider<T>
internal class that is able to provide a specific type.
AbstractLifecycleMethodProcessor
abstract baseclass for LifecycleProcessors
AbstractScope
base class for scopes
AmbiguousProvider<T>
internal: provider that is created in cases of ambiguities
ArgumentResolver
Boot
internal module used for bootstrapping
ClassInstanceProvider<T>
A InstanceProvider that calls class constructors
Conditional
this annotation is used to define specific requirements for the appropriate class to be managed by an environment
Create
Methods annotated with Create are factories for the return type. eager if true, thg instance wil be created automatically. This is the default scope tge scope. Default tis "singleton"
Environment
This is the DI container which is responsible for the lifecycle of its managed classes // and offers the main API to retrieve objects via the get<T> method.
EnvironmentInstanceProvider<T>
EnvironmentParameterResolver
EnvironmentScope
environment scope creates and caches instances per environment
EnvironmentScopeInstanceProvider
internal
feature
Condition that checks for a specific feature
FunctionInstanceProvider<T>
A FunctionInstanceProvider is able to create instances of type T by calling specific methods annotated with 'create'.
Inject
Methods annotated with Inject are executed after constructor invocation. Methods can declare any injectable parameters
Injectable
Classes, annotated with Injectable are able to be managed by an environment This is also an indicator for the code-generator to emit the meta-data.
InstanceProvider<T>
LifecycleProcessor
A LifecycleProcessor is is called during the different lifecycles of an object.
MethodCall
internal
Module
Classes annotated with Module determine, which classes are managed by it. The rule is that all classes inside or under the library of this class are eligible.
OnDestroy
Methods annotated with OnDestroy are executed after environment destruction. Methods can declare any injectable parameters
OnDestroyProcessor
internal
OnInit
Methods annotated with OnInit are executed after constructor invocation and all injections. Methods can declare any injectable parameters
OnInitProcessor
internal
OnInjectProcessor
internal
OnRunning
Methods annotated with OnRunning are executed after constructor of all eager environment objects Methods can declare any injectable parameters
OnRunningProcessor
internal
ParameterResolver
ParameterResolverFactory
PostProcessor
base class for post processors
Providers
Internal: The Providers class is a static class used in the context of the registration and resolution of InstanceProviders.
RequestScope
request scopes create instances on every call
RequestScopeInstanceProvider
internal
ResolveContext
internal
Scope
Annotation used to mark custom AbstractScopes
Scopes
internal factory for AbstractScopes
SingletonScope
singleton scope
SingletonScopeInstanceProvider
internal
TypeParameterResolver
TypeParameterResolverFactory

Enums

Lifecycle

Mixins

Condition
Abstract base class for conditions

Typedefs

ArgumentsProvider = List Function()

Exceptions / Errors

DIException
exceptions thrown by the container
DIRegistrationException
exceptions thrown by the container during registration
DIRuntimeException
exceptions thrown by the container during runtime