Class DI
java.lang.Object
org.apache.logging.log4j.plugins.di.DI
Factory for instance factories. This provides a builder DSL for setting up a
ConfigurableInstanceFactory
using bindings registered before and after standard
ConfigurableInstanceFactoryPostProcessor
service provider classes are invoked.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Builder DSL for configuring aConfigurableInstanceFactory
usingConfigurableInstanceFactoryPostProcessor
instances.static class
Builder DSL for configuring a scoped binding to be registered with aConfigurableInstanceFactory
.static class
Builder DSL for configuring a binding to be registered with aConfigurableInstanceFactory
. -
Method Summary
Modifier and TypeMethodDescriptionstatic DI.FactoryBuilder
builder()
Creates a new builder for customizing aConfigurableInstanceFactory
.static ConfigurableInstanceFactory
Creates a new initialized instance factory.
-
Method Details
-
createInitializedFactory
Creates a new initialized instance factory.- Returns:
- an initialized instance factory
-
builder
Creates a new builder for customizing aConfigurableInstanceFactory
.- Returns:
- new builder
-