Package org.apache.logging.log4j.plugins.di
@Export
@Version("1.0.0")
@NullMarked
package org.apache.logging.log4j.plugins.di
Dependency injection API. Dependency injection enables inversion of control for runtime-configurable instances of classes.
-
ClassDescriptionException thrown when a class has multiple constructors annotated with
Inject
.Exception thrown when a circular dependency is encountered.Configuration manager for the state of an instance factory.Factory for instance factories.Builder DSL for configuring aConfigurableInstanceFactory
usingConfigurableInstanceFactoryPostProcessor
instances.Builder DSL for configuring a scoped binding to be registered with aConfigurableInstanceFactory
.Builder DSL for configuring a binding to be registered with aConfigurableInstanceFactory
.Thrown when a duplicate binding is attempted to be registered from a bundle in aConfigurableInstanceFactory
.Key<T>Keys represent a reified type with an optionalQualifierType
type, name, and namespace.Key.Builder<T>Builder class for configuring a newKey
instance.Exception thrown when an instance of a type is not injectable.