All Classes and Interfaces
Class
Description
This class is an abstract module wrapper around
ModuleBuilder.A binding is one of the main components of ActiveJ Inject.
This is a function that can try to generate a missing dependency binding when
Injector compiles the final binding graph trie.This is a
Binding binding modifying function, that can add extra dependencies to it
and run initialization code for instance after it was created.This function is passed to a
generator when trying to generate a binding.This is a transformation function that is applied by the
injector to each binding once.Bindings can be transient, eager, or none of the previous.
A binding marked as eager would be called for an instance of its object immediately upon injector creation.
This annotation is part of the injection DSL, it allows you to generate bindings
using object constructors or static factory methods.
Injector is the main working component of the ActiveJ Inject.
This is a function which can inject instances into
Inject
fields and methods of some already existing object.A provider, unlike other DI frameworks, is just a version of
Injector.getInstance(io.activej.inject.Key<T>) with a baked in key.The key defines an identity of a binding.
A pattern to match a dependency injection
KeyA default subclass to be used by
KeyPattern.of* and KeyPattern.ofType* constructorsLocationInfo is a transient field in
binding that is set
where possible by the DSL so that error messages can show where a binding was made.A module is an object, that provides certain sets of bindings, transformers, generators or multibinders
arranged by keys in certain data structures.
This interface is used to restrict the DSL.
This class contains a set of utilities for working with
modules.This is a function that is used to resolve binding conflicts.
This is a built-in stateful annotation.
This class contains a set of utils for working with binding graph trie.
This annotation is part of the provider method DSL, it allows you to build bindings and even a subset of
generators using methods declared in your modules.This is a built-in shortcut for
provider method that provides its result as a singleton set
and adds a set multibinder for the provided set key to the module.This is a marker meta-annotation that declares an annotation as the one that
can be used as a
key qualifier.This class holds utility methods used for validating and creating objects used as qualifiers.
These are various reflection utilities that are used by the DSL.
This is a marker meta-annotation that declares an annotation as the one that
can be used as a
scope.This is a simple generic POJO (or POGJO) for a
Key with associated scope path.This is a special annotation that allows you to declare bindings in nested scopes
using
provider methods.This is a helper annotation that can be used to override how this type is
displayed
in error messages and debug graphs.A binding which is transient has no slot in object cache.
Completely generic and abstract simple Java implementation
of the prefixed tree (or trie) data structure.
This class contains reflection utilities to work with Java types.