Uses of Interface
org.apache.logging.log4j.plugins.di.spi.DependencyChain
Packages that use DependencyChain
Package
Description
Dependency injection API.
Provides various SPI classes for the DI system.
-
Uses of DependencyChain in org.apache.logging.log4j.plugins.di
Methods in org.apache.logging.log4j.plugins.di with parameters of type DependencyChainModifier and TypeMethodDescriptionDefaultInstanceFactory.getArgumentFactories(Key<?> key, List<InjectionPoint<?>> argumentInjectionPoints, DependencyChain dependencyChain) protected <T> Supplier<T>DefaultInstanceFactory.getArgumentFactory(InjectionPoint<T> injectionPoint, DependencyChain dependencyChain) default <T> Supplier<T>InstanceFactory.getFactory(Key<T> key, Collection<String> aliases, DependencyChain dependencyChain) Gets a factory for instances that match the given key with dependencies.default <T> TInstanceFactory.getInstance(Class<T> clazz, DependencyChain dependencyChain) Gets an instance for the provided class with dependencies.default <T> TInstanceFactory.getInstance(Key<T> key, Collection<String> aliases, DependencyChain dependencyChain) Gets an instance that matches the given key with aliases and dependencies.default <T> TInstanceFactory.getInstance(Key<T> key, DependencyChain dependencyChain) Gets an instance that matches the provided key with dependencies.protected voidDefaultInstanceFactory.injectMembers(Key<?> key, Object instance, DependencyChain dependencyChain) Constructors in org.apache.logging.log4j.plugins.di with parameters of type DependencyChainModifierConstructorDescriptionCircularDependencyException(Key<?> key, DependencyChain dependencies) NotInjectableException(Key<?> key, DependencyChain dependencies) -
Uses of DependencyChain in org.apache.logging.log4j.plugins.di.spi
Methods in org.apache.logging.log4j.plugins.di.spi that return DependencyChainModifier and TypeMethodDescriptionResolvableKey.dependencyChain()Returns the value of thedependencyChainrecord component.static DependencyChainDependencyChain.empty()Returns an empty dependency chain.static DependencyChainReturns a dependency chain containing a single key.DependencyChain.withDependency(Key<?> key) Returns a new dependency chain containing the provided key as an additional dependency.Methods in org.apache.logging.log4j.plugins.di.spi with parameters of type DependencyChainModifier and TypeMethodDescriptionstatic <T> ResolvableKey<T>ResolvableKey.of(Key<T> key, Collection<String> aliases, DependencyChain dependencyChain) static <T> ResolvableKey<T>ResolvableKey.of(Key<T> key, DependencyChain dependencyChain) Constructors in org.apache.logging.log4j.plugins.di.spi with parameters of type DependencyChainModifierConstructorDescriptionResolvableKey(Key<T> key, Collection<String> aliases, DependencyChain dependencyChain) Creates an instance of aResolvableKeyrecord class.