Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractAttributeFactoryResolver<T,
A extends Annotation> - Class in org.apache.logging.log4j.plugins.di.resolver - AbstractAttributeFactoryResolver(Class<A>) - Constructor for class org.apache.logging.log4j.plugins.di.resolver.AbstractAttributeFactoryResolver
- AbstractPluginFactoryResolver<T> - Class in org.apache.logging.log4j.plugins.di.resolver
- AbstractPluginFactoryResolver() - Constructor for class org.apache.logging.log4j.plugins.di.resolver.AbstractPluginFactoryResolver
- add(PluginType<?>) - Method in class org.apache.logging.log4j.plugins.model.PluginNamespace
- addBindingFrom(Class<T>) - Method in class org.apache.logging.log4j.plugins.di.DI.FactoryBuilder
-
Begins to define a binding that will be registered after the
ConfigurableInstanceFactory
is initialized with service provider classes. - addBindingFrom(Key<T>) - Method in class org.apache.logging.log4j.plugins.di.DI.FactoryBuilder
-
Begins to define a binding that will be registered after the
ConfigurableInstanceFactory
is initialized with service provider classes. - addBundle(Object) - Method in class org.apache.logging.log4j.plugins.di.DI.FactoryBuilder
-
Adds a bundle class or instance to be registered after the
ConfigurableInstanceFactory
is initialized with service provider classes. - addChild(Consumer<Node.Builder>) - Method in class org.apache.logging.log4j.plugins.Node.Builder
- addChild(Node) - Method in class org.apache.logging.log4j.plugins.Node
- addInitialBindingFrom(Class<T>) - Method in class org.apache.logging.log4j.plugins.di.DI.FactoryBuilder
-
Begins to define a binding that will be registered before the
ConfigurableInstanceFactory
is initialized with service provider classes. - addInitialBindingFrom(Key<T>) - Method in class org.apache.logging.log4j.plugins.di.DI.FactoryBuilder
-
Begins to define a binding that will be registered before the
ConfigurableInstanceFactory
is initialized with service provider classes. - addInitialBundle(Object) - Method in class org.apache.logging.log4j.plugins.di.DI.FactoryBuilder
-
Adds a bundle class or instance to be registered before the
ConfigurableInstanceFactory
is initialized with service provider classes. - aliases() - Method in record class org.apache.logging.log4j.plugins.di.spi.InjectionPoint
-
Returns the value of the
aliases
record component. - aliases() - Method in record class org.apache.logging.log4j.plugins.di.spi.ResolvableKey
-
Returns the value of the
aliases
record component. - AliasesProvider - Annotation Interface in org.apache.logging.log4j.plugins.name
- AmbiguousInjectConstructorException - Exception in org.apache.logging.log4j.plugins.di
-
Exception thrown when a class has multiple constructors annotated with
Inject
. - AmbiguousInjectConstructorException(Class<?>) - Constructor for exception org.apache.logging.log4j.plugins.di.AmbiguousInjectConstructorException
-
Constructs an ambiguous
Inject
-annotated constructor exception for the target class. - AnnotatedElementAliasesProvider<A extends Annotation> - Interface in org.apache.logging.log4j.plugins.name
- AnnotatedElementNameProvider<A extends Annotation> - Interface in org.apache.logging.log4j.plugins.name
-
Extracts a specified name for some configurable annotated element.
- annotationType - Variable in class org.apache.logging.log4j.plugins.di.resolver.AbstractAttributeFactoryResolver
- Assert - Class in org.apache.logging.log4j.plugins.util
-
Utility class providing common validation logic.
B
- bindings() - Element in annotation interface org.apache.logging.log4j.plugins.condition.ConditionalOnPresentBindings
- build() - Method in class org.apache.logging.log4j.plugins.di.DI.FactoryBuilder
-
Constructs and configures a
ConfigurableInstanceFactory
using the configured bindings before and after service provider initialization. - build() - Method in interface org.apache.logging.log4j.plugins.util.Builder
-
Builds the object after all configuration has been set.
- builder() - Static method in class org.apache.logging.log4j.plugins.di.DI
-
Creates a new builder for customizing a
ConfigurableInstanceFactory
. - builder() - Static method in record class org.apache.logging.log4j.plugins.model.PluginEntry
- builder(Class<T>) - Static method in class org.apache.logging.log4j.plugins.di.Key
-
Creates a new key builder for the given class.
- builder(Type) - Static method in class org.apache.logging.log4j.plugins.di.Key
-
Creates a new key builder for the given generic type.
- builder(Key<T>) - Static method in class org.apache.logging.log4j.plugins.di.Key
-
Creates a new key builder from an existing key's properties.
- Builder<T> - Interface in org.apache.logging.log4j.plugins.util
-
A type of builder that can be used to configure and create a instances using a Java DSL instead of through a configuration file.
- Builder() - Constructor for class org.apache.logging.log4j.plugins.model.PluginEntry.Builder
- Builder() - Constructor for class org.apache.logging.log4j.plugins.Node.Builder
C
- CategoryNameProvider - Class in org.apache.logging.log4j.plugins.name
- CategoryNameProvider() - Constructor for class org.apache.logging.log4j.plugins.name.CategoryNameProvider
- CircularDependencyException - Exception in org.apache.logging.log4j.plugins.di
-
Exception thrown when a circular dependency is encountered.
- CircularDependencyException(Key<?>, DependencyChain) - Constructor for exception org.apache.logging.log4j.plugins.di.CircularDependencyException
- className() - Method in record class org.apache.logging.log4j.plugins.model.PluginEntry
-
Returns the value of the
className
record component. - clear() - Method in class org.apache.logging.log4j.plugins.model.PluginRegistry
-
Resets the registry to an empty state.
- compare(AnnotatedElement, AnnotatedElement) - Method in class org.apache.logging.log4j.plugins.util.OrderedComparator
- compareTo(Key<T>) - Method in class org.apache.logging.log4j.plugins.di.Key
- compareTo(PluginEntry) - Method in record class org.apache.logging.log4j.plugins.model.PluginEntry
- Condition - Interface in org.apache.logging.log4j.plugins.condition
-
Checks an annotated element to see if it matches some condition.
- Conditional - Annotation Interface in org.apache.logging.log4j.plugins.condition
-
Meta-annotation for conditional annotations to reference the implementing
Condition
class to handle conditional checks for whether the bindings present in a bundle instance should be registered. - ConditionalOnMissingBinding - Annotation Interface in org.apache.logging.log4j.plugins.condition
-
Checks if a binding exists for the return type of the annotated
Factory
method. - ConditionalOnPresentBindings - Annotation Interface in org.apache.logging.log4j.plugins.condition
-
Only creates a binding if all the requested dependencies exist.
- ConditionContext - Class in org.apache.logging.log4j.plugins.condition
-
Provides runtime context to a
Condition
. - Configurable - Annotation Interface in org.apache.logging.log4j.plugins
-
Annotates a plugin as being a configurable plugin.
- ConfigurableInstanceFactory - Interface in org.apache.logging.log4j.plugins.di
-
Configuration manager for the state of an instance factory.
- ConfigurableInstanceFactoryPostProcessor - Interface in org.apache.logging.log4j.plugins.di.spi
-
Provides post-processing capabilities to the initialization of a
ConfigurableInstanceFactory
. - Constraint - Annotation Interface in org.apache.logging.log4j.plugins.validation
-
Meta annotation to mark an annotation as a validation constraint.
- ConstraintValidationException - Exception in org.apache.logging.log4j.plugins.validation
- ConstraintValidationException(AnnotatedElement, String, Object) - Constructor for exception org.apache.logging.log4j.plugins.validation.ConstraintValidationException
- ConstraintValidator<A extends Annotation> - Interface in org.apache.logging.log4j.plugins.validation
-
Interface that
Constraint
annotations must implement to perform validation logic. - convert(String) - Method in class org.apache.logging.log4j.plugins.convert.EnumConverter
- convert(String) - Method in interface org.apache.logging.log4j.plugins.convert.TypeConverter
-
Converts a String to a given type.
- convert(String, Object) - Method in interface org.apache.logging.log4j.plugins.convert.TypeConverter
- convert(String, Object, boolean) - Method in interface org.apache.logging.log4j.plugins.convert.TypeConverter
- copy() - Method in class org.apache.logging.log4j.plugins.di.DI.FactoryBuilder
-
Creates a new builder DSL with a copy of the configured bindings from this builder.
- CORE_NAMESPACE - Static variable in class org.apache.logging.log4j.plugins.Node
-
Main plugin namespace for plugins which are represented as a configuration node.
- createDefaultFactory(ResolvableKey<T>) - Method in class org.apache.logging.log4j.plugins.di.DefaultInstanceFactory
- createInitializedFactory() - Static method in class org.apache.logging.log4j.plugins.di.DI
-
Creates a new initialized instance factory.
- CURRENT_INJECTION_POINT - Static variable in record class org.apache.logging.log4j.plugins.di.spi.InjectionPoint
- CURRENT_NODE - Static variable in class org.apache.logging.log4j.plugins.Node
-
Key describing the current node being configured.
D
- defaultBoolean() - Element in annotation interface org.apache.logging.log4j.plugins.PluginAttribute
-
Specifies the default boolean value to use.
- defaultByte() - Element in annotation interface org.apache.logging.log4j.plugins.PluginAttribute
-
Specifies the default byte value to use.
- defaultChar() - Element in annotation interface org.apache.logging.log4j.plugins.PluginAttribute
-
Specifies the default byte value to use.
- defaultClass() - Element in annotation interface org.apache.logging.log4j.plugins.PluginAttribute
-
Specifies the default
Class
value to use. - defaultDouble() - Element in annotation interface org.apache.logging.log4j.plugins.PluginAttribute
-
Specifies the default double floating point value to use.
- defaultFloat() - Element in annotation interface org.apache.logging.log4j.plugins.PluginAttribute
-
Specifies the default floating point value to use.
- DefaultInstanceFactory - Class in org.apache.logging.log4j.plugins.di
- DefaultInstanceFactory() - Constructor for class org.apache.logging.log4j.plugins.di.DefaultInstanceFactory
- defaultInt() - Element in annotation interface org.apache.logging.log4j.plugins.PluginAttribute
-
Specifies the default integer value to use.
- defaultLong() - Element in annotation interface org.apache.logging.log4j.plugins.PluginAttribute
-
Specifies the default long value to use.
- defaultShort() - Element in annotation interface org.apache.logging.log4j.plugins.PluginAttribute
-
Specifies the default long value to use.
- defaultString() - Element in annotation interface org.apache.logging.log4j.plugins.PluginAttribute
-
Specifies the default value this attribute should use if none is provided or if the provided value is invalid.
- deferChildren() - Element in annotation interface org.apache.logging.log4j.plugins.Configurable
-
Indicates if construction and injection of child configuration nodes should be deferred until first use.
- deferChildren() - Method in record class org.apache.logging.log4j.plugins.model.PluginEntry
-
Returns the value of the
deferChildren
record component. - dependencyChain() - Method in record class org.apache.logging.log4j.plugins.di.spi.ResolvableKey
-
Returns the value of the
dependencyChain
record component. - DependencyChain - Interface in org.apache.logging.log4j.plugins.di.spi
-
Immutable chain of dependency keys assembled while constructing dependency-injected instances.
- DI - Class in org.apache.logging.log4j.plugins.di
-
Factory for instance factories.
- DI.FactoryBuilder - Class in org.apache.logging.log4j.plugins.di
-
Builder DSL for configuring a
ConfigurableInstanceFactory
usingConfigurableInstanceFactoryPostProcessor
instances. - DI.ScopedBindingBuilder<T> - Class in org.apache.logging.log4j.plugins.di
-
Builder DSL for configuring a scoped binding to be registered with a
ConfigurableInstanceFactory
. - DI.UnscopedBindingBuilder<T> - Class in org.apache.logging.log4j.plugins.di
-
Builder DSL for configuring a binding to be registered with a
ConfigurableInstanceFactory
. - DuplicateBindingException - Exception in org.apache.logging.log4j.plugins.di
-
Thrown when a duplicate binding is attempted to be registered from a bundle in a
ConfigurableInstanceFactory
. - DuplicateBindingException(Key<?>) - Constructor for exception org.apache.logging.log4j.plugins.di.DuplicateBindingException
E
- element() - Method in record class org.apache.logging.log4j.plugins.di.spi.InjectionPoint
-
Returns the value of the
element
record component. - elementType() - Element in annotation interface org.apache.logging.log4j.plugins.Configurable
-
Name of the corresponding category of elements this plugin belongs under.
- elementType() - Method in record class org.apache.logging.log4j.plugins.model.PluginEntry
-
Returns the value of the
elementType
record component. - empty() - Static method in interface org.apache.logging.log4j.plugins.di.spi.DependencyChain
-
Returns an empty dependency chain.
- EMPTY - Static variable in annotation interface org.apache.logging.log4j.plugins.Plugin
-
Value of the elementType when none is specified.
- EnumConverter<E extends Enum<E>> - Class in org.apache.logging.log4j.plugins.convert
- EnumConverter(Class<E>) - Constructor for class org.apache.logging.log4j.plugins.convert.EnumConverter
- equals(Object) - Method in class org.apache.logging.log4j.plugins.di.Key
- equals(Object) - Method in record class org.apache.logging.log4j.plugins.di.spi.InjectionPoint
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.apache.logging.log4j.plugins.di.spi.ResolvableKey
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.apache.logging.log4j.plugins.model.PluginEntry
-
Indicates whether some other object is "equal to" this one.
F
- Factory - Annotation Interface in org.apache.logging.log4j.plugins
-
Marks a method as a factory for supplying sources of instances of the method's return type.
- FactoryBuilder() - Constructor for class org.apache.logging.log4j.plugins.di.DI.FactoryBuilder
-
Constructs a fresh builder DSL using
DefaultInstanceFactory
and all availableConfigurableInstanceFactoryPostProcessor
service provider classes in sorted order. - FactoryResolver<T> - Interface in org.apache.logging.log4j.plugins.di.spi
-
Strategy for resolving factories from existing factories.
- FactoryResolversPostProcessor - Class in org.apache.logging.log4j.plugins.di.spi
-
Base post-processor for registering one or more
FactoryResolver
instances to aConfigurableInstanceFactory
. - FactoryResolversPostProcessor(List<FactoryResolver<?>>) - Constructor for class org.apache.logging.log4j.plugins.di.spi.FactoryResolversPostProcessor
- FactoryType - Annotation Interface in org.apache.logging.log4j.plugins
-
Meta annotation for factories.
- FIRST - Static variable in annotation interface org.apache.logging.log4j.plugins.Ordered
- forClass(Class<T>) - Static method in class org.apache.logging.log4j.plugins.di.Key
-
Creates a Key for the class.
- forEach(BiConsumer<? super String, ? super PluginType<?>>) - Method in class org.apache.logging.log4j.plugins.model.PluginNamespace
-
Performs the given action on all the plugin types in this category.
- forField(Field) - Static method in class org.apache.logging.log4j.plugins.di.Key
-
Creates a Key for the field.
- forField(Field) - Static method in record class org.apache.logging.log4j.plugins.di.spi.InjectionPoint
- formatTo(StringBuilder) - Method in class org.apache.logging.log4j.plugins.di.Key
- forMethod(Method) - Static method in class org.apache.logging.log4j.plugins.di.Key
-
Creates a Key for the return type of the method.
- forParameter(Parameter) - Static method in class org.apache.logging.log4j.plugins.di.Key
-
Creates a Key for the parameter.
- forParameter(Parameter) - Static method in record class org.apache.logging.log4j.plugins.di.spi.InjectionPoint
- fromExecutable(Executable) - Static method in record class org.apache.logging.log4j.plugins.di.spi.InjectionPoint
G
- GenericFactoryResolversPostProcessor - Class in org.apache.logging.log4j.plugins.di.resolver
- GenericFactoryResolversPostProcessor() - Constructor for class org.apache.logging.log4j.plugins.di.resolver.GenericFactoryResolversPostProcessor
- get() - Method in class org.apache.logging.log4j.plugins.di.Key.Builder
-
Creates a new
Key
from this builder's properties. - get() - Method in class org.apache.logging.log4j.plugins.model.PluginEntry.Builder
- get() - Method in class org.apache.logging.log4j.plugins.Node.Builder
- get() - Method in interface org.apache.logging.log4j.plugins.util.Builder
- get(String) - Method in class org.apache.logging.log4j.plugins.model.PluginNamespace
-
Gets the plugin type for the provided plugin name (case-insensitive) if available or
null
. - get(Key<T>, Supplier<T>) - Method in interface org.apache.logging.log4j.plugins.di.spi.Scope
-
Scopes an instance factory for the provided key and unscoped factory in this scope.
- getAliases(A) - Method in interface org.apache.logging.log4j.plugins.name.AnnotatedElementAliasesProvider
- getAliases(AnnotatedElement) - Static method in class org.apache.logging.log4j.plugins.di.Keys
- getAliases(Named) - Method in class org.apache.logging.log4j.plugins.name.NamedQualifierNameProvider
- getAliases(PluginAliases) - Method in class org.apache.logging.log4j.plugins.name.PluginAliasesProvider
- getAllNamespaces() - Method in class org.apache.logging.log4j.plugins.model.PluginCache
-
Returns all namespaces of plugins in this cache.
- getArgumentFactories(Key<?>, List<InjectionPoint<?>>, DependencyChain) - Method in class org.apache.logging.log4j.plugins.di.DefaultInstanceFactory
- getArgumentFactory(InjectionPoint<T>, DependencyChain) - Method in class org.apache.logging.log4j.plugins.di.DefaultInstanceFactory
- getAttributes() - Method in class org.apache.logging.log4j.plugins.Node
- getChildren() - Method in class org.apache.logging.log4j.plugins.Node
- getClassLoader() - Method in class org.apache.logging.log4j.plugins.condition.ConditionContext
- getClassName() - Method in class org.apache.logging.log4j.plugins.model.PluginEntry.Builder
- getDefaultConstructor(Class<T>) - Static method in class org.apache.logging.log4j.plugins.util.ReflectionUtil
-
Gets the default (no-arg) constructor for a given class.
- getDefaultValue(A, StringValueResolver, Type, TypeConverter<T>) - Method in class org.apache.logging.log4j.plugins.di.resolver.AbstractAttributeFactoryResolver
- getDefaultValue(PluginAttribute, StringValueResolver, Type, TypeConverter<T>) - Method in class org.apache.logging.log4j.plugins.di.resolver.PluginAttributeFactoryResolver
- getDefaultValue(PluginBuilderAttribute, StringValueResolver, Type, TypeConverter<T>) - Method in class org.apache.logging.log4j.plugins.di.resolver.PluginBuilderAttributeFactoryResolver
- getElementName() - Method in class org.apache.logging.log4j.plugins.model.PluginType
- getElementType() - Method in class org.apache.logging.log4j.plugins.model.PluginEntry.Builder
- getElementType() - Method in class org.apache.logging.log4j.plugins.model.PluginType
- getEntries() - Method in class org.apache.logging.log4j.plugins.model.PluginService
- getEnvironment() - Method in class org.apache.logging.log4j.plugins.condition.ConditionContext
- getFactory(Class<T>) - Method in interface org.apache.logging.log4j.plugins.di.InstanceFactory
-
Gets a factory for instances of the provided class.
- getFactory(Key<T>) - Method in interface org.apache.logging.log4j.plugins.di.InstanceFactory
-
Gets a factory for instances that match the given key.
- getFactory(Key<T>, Collection<String>) - Method in interface org.apache.logging.log4j.plugins.di.InstanceFactory
-
Gets a factory for instances that match the given key or aliases.
- getFactory(Key<T>, Collection<String>, DependencyChain) - Method in interface org.apache.logging.log4j.plugins.di.InstanceFactory
-
Gets a factory for instances that match the given key with dependencies.
- getFactory(ResolvableKey<String>, InstanceFactory) - Method in class org.apache.logging.log4j.plugins.di.resolver.PluginValueFactoryResolver
- getFactory(ResolvableKey<Supplier<T>>, InstanceFactory) - Method in class org.apache.logging.log4j.plugins.di.resolver.SupplierFactoryResolver
- getFactory(ResolvableKey<List<? extends Supplier<? extends T>>>, InstanceFactory) - Method in class org.apache.logging.log4j.plugins.di.resolver.PluginListSupplierFactoryResolver
- getFactory(ResolvableKey<List<? extends T>>, InstanceFactory) - Method in class org.apache.logging.log4j.plugins.di.resolver.PluginListFactoryResolver
- getFactory(ResolvableKey<Map<String, ? extends Supplier<? extends T>>>, InstanceFactory) - Method in class org.apache.logging.log4j.plugins.di.resolver.PluginMapSupplierFactoryResolver
- getFactory(ResolvableKey<Map<String, ? extends T>>, InstanceFactory) - Method in class org.apache.logging.log4j.plugins.di.resolver.PluginMapFactoryResolver
- getFactory(ResolvableKey<Optional<? extends Supplier<? extends T>>>, InstanceFactory) - Method in class org.apache.logging.log4j.plugins.di.resolver.PluginOptionalSupplierFactoryResolver
- getFactory(ResolvableKey<Optional<? extends T>>, InstanceFactory) - Method in class org.apache.logging.log4j.plugins.di.resolver.PluginOptionalFactoryResolver
- getFactory(ResolvableKey<Optional<T>>, InstanceFactory) - Method in class org.apache.logging.log4j.plugins.di.resolver.OptionalFactoryResolver
- getFactory(ResolvableKey<Set<? extends Supplier<? extends T>>>, InstanceFactory) - Method in class org.apache.logging.log4j.plugins.di.resolver.PluginSetSupplierFactoryResolver
- getFactory(ResolvableKey<Set<? extends T>>, InstanceFactory) - Method in class org.apache.logging.log4j.plugins.di.resolver.PluginSetFactoryResolver
- getFactory(ResolvableKey<Stream<? extends Supplier<? extends T>>>, InstanceFactory) - Method in class org.apache.logging.log4j.plugins.di.resolver.PluginStreamSupplierFactoryResolver
- getFactory(ResolvableKey<Stream<? extends PluginType<? extends T>>>, InstanceFactory) - Method in class org.apache.logging.log4j.plugins.di.resolver.PluginStreamPluginTypeFactoryResolver
- getFactory(ResolvableKey<Stream<? extends T>>, InstanceFactory) - Method in class org.apache.logging.log4j.plugins.di.resolver.PluginStreamFactoryResolver
- getFactory(ResolvableKey<PluginNamespace>, InstanceFactory) - Method in class org.apache.logging.log4j.plugins.di.resolver.PluginNamespaceFactoryResolver
- getFactory(ResolvableKey<PluginType<T>>, InstanceFactory) - Method in class org.apache.logging.log4j.plugins.di.resolver.PluginTypeFactoryResolver
- getFactory(ResolvableKey<T>) - Method in class org.apache.logging.log4j.plugins.di.DefaultInstanceFactory
- getFactory(ResolvableKey<T>) - Method in interface org.apache.logging.log4j.plugins.di.InstanceFactory
-
Gets a factory for instances that match the given resolvable key.
- getFactory(ResolvableKey<T>, InstanceFactory) - Method in class org.apache.logging.log4j.plugins.di.resolver.AbstractAttributeFactoryResolver
- getFactory(ResolvableKey<T>, InstanceFactory) - Method in class org.apache.logging.log4j.plugins.di.resolver.PluginElementFactoryResolver
- getFactory(ResolvableKey<T>, InstanceFactory) - Method in interface org.apache.logging.log4j.plugins.di.spi.FactoryResolver
-
Gets a factory for the given resolvable key using existing bindings from the given instance factory.
- getFieldValue(Field, Object) - Method in interface org.apache.logging.log4j.plugins.di.spi.ReflectionAgent
- getFieldValue(Field, Object) - Static method in class org.apache.logging.log4j.plugins.util.ReflectionUtil
-
Gets the value of a
Field
, making it accessible if required. - getInjectableInstance(ResolvableKey<T>) - Method in class org.apache.logging.log4j.plugins.di.DefaultInstanceFactory
- getInstance(Class<T>) - Method in interface org.apache.logging.log4j.plugins.di.InstanceFactory
-
Gets an instance for the provided class.
- getInstance(Class<T>, DependencyChain) - Method in interface org.apache.logging.log4j.plugins.di.InstanceFactory
-
Gets an instance for the provided class with dependencies.
- getInstance(Key<T>) - Method in interface org.apache.logging.log4j.plugins.di.InstanceFactory
-
Gets an instance that matches the provided key.
- getInstance(Key<T>, Collection<String>, DependencyChain) - Method in interface org.apache.logging.log4j.plugins.di.InstanceFactory
-
Gets an instance that matches the given key with aliases and dependencies.
- getInstance(Key<T>, DependencyChain) - Method in interface org.apache.logging.log4j.plugins.di.InstanceFactory
-
Gets an instance that matches the provided key with dependencies.
- getInstance(ResolvableKey<T>) - Method in interface org.apache.logging.log4j.plugins.di.InstanceFactory
-
Gets an instance that matches the given resolvable key.
- getInstanceFactory() - Method in class org.apache.logging.log4j.plugins.condition.ConditionContext
- getKey() - Method in class org.apache.logging.log4j.plugins.model.PluginEntry.Builder
- getKey() - Method in class org.apache.logging.log4j.plugins.model.PluginNamespace
-
Returns the key corresponding to this plugin namespace.
- getKey() - Method in class org.apache.logging.log4j.plugins.model.PluginType
-
Return The plugin's key.
- getName() - Method in class org.apache.logging.log4j.plugins.di.Key
-
Returns the name of this key.
- getName() - Method in class org.apache.logging.log4j.plugins.model.PluginEntry.Builder
- getName() - Method in class org.apache.logging.log4j.plugins.model.PluginNamespace
-
Returns the name of this plugin namespace.
- getName() - Method in class org.apache.logging.log4j.plugins.model.PluginType
- getName() - Method in class org.apache.logging.log4j.plugins.Node
- getName(Class<?>) - Static method in class org.apache.logging.log4j.plugins.di.Keys
-
Gets the name of the given annotated class using the corresponding
AnnotatedElementNameProvider
strategy for the named annotation on the class. - getName(AnnotatedType) - Static method in class org.apache.logging.log4j.plugins.di.Keys
-
Gets the name of the given annotated type using the corresponding
AnnotatedElementNameProvider
strategy for the named annotation on the type. - getName(Field) - Static method in class org.apache.logging.log4j.plugins.di.Keys
-
Gets the name of the annotated field using the corresponding
AnnotatedElementNameProvider
strategy for the named annotation on the field. - getName(Method) - Static method in class org.apache.logging.log4j.plugins.di.Keys
-
Gets the name of the given annotated method using the corresponding
AnnotatedElementNameProvider
strategy for the named annotation on the method. - getName(Parameter) - Static method in class org.apache.logging.log4j.plugins.di.Keys
-
Gets the name of the given annotated parameter using the corresponding
AnnotatedElementNameProvider
strategy for the named annotation on the parameter. - getNamespace() - Method in class org.apache.logging.log4j.plugins.di.Key
-
Returns the namespace of this key.
- getNamespace() - Method in class org.apache.logging.log4j.plugins.model.PluginEntry.Builder
- getNamespace() - Method in class org.apache.logging.log4j.plugins.model.PluginType
-
Return the plugin namespace.
- getNamespace(AnnotatedElement) - Static method in class org.apache.logging.log4j.plugins.di.Keys
-
Gets the namespace of the annotated element.
- getNamespace(String) - Method in class org.apache.logging.log4j.plugins.model.PluginCache
-
Gets or creates a namespace of plugins.
- getNamespace(String) - Method in class org.apache.logging.log4j.plugins.model.PluginRegistry
-
Gets the registered plugins for the given namespace.
- getNamespace(String) - Method in class org.apache.logging.log4j.plugins.model.PluginService
- getNamespaces() - Method in class org.apache.logging.log4j.plugins.model.PluginService
- getObject() - Method in class org.apache.logging.log4j.plugins.Node
- getObject(Class<T>) - Method in class org.apache.logging.log4j.plugins.Node
-
Returns this node's object cast to the given class.
- getOrder() - Method in class org.apache.logging.log4j.plugins.di.Key
-
Returns the ordinal value of this key.
- getParameterizedTypeArgument(int) - Method in class org.apache.logging.log4j.plugins.di.Key
-
If this key's type
T
is a parameterized type such thatT
can be represented asR<P0, P1, P2, ...>
with raw typeR
and type argumentsP0
,P1
, etc., then this returns a new key corresponding to the requested parameterized type argument along with the same remaining values as this key. - getParent() - Method in class org.apache.logging.log4j.plugins.Node
- getPluginClass() - Method in class org.apache.logging.log4j.plugins.model.PluginType
- getPluginEntry() - Method in class org.apache.logging.log4j.plugins.model.PluginType
- getQualifierType() - Method in class org.apache.logging.log4j.plugins.di.Key
-
Returns the qualifier type of this key.
- getRawType() - Method in class org.apache.logging.log4j.plugins.di.Key
-
Returns the raw type of this key corresponding to its generic type.
- getRawType(Type) - Static method in class org.apache.logging.log4j.plugins.util.TypeUtil
-
Extracts the raw type equivalent of a given type.
- getReferenceType(Class<?>) - Static method in class org.apache.logging.log4j.plugins.util.TypeUtil
-
Returns the reference type for a class.
- getRegisteredScope(Class<? extends Annotation>) - Method in interface org.apache.logging.log4j.plugins.di.ConfigurableInstanceFactory
-
Gets the registered Scope strategy for the given scope annotation type if defined or
null
otherwise. - getRegisteredScope(Class<? extends Annotation>) - Method in class org.apache.logging.log4j.plugins.di.DefaultInstanceFactory
- getScopeForMethod(Method) - Method in class org.apache.logging.log4j.plugins.di.DefaultInstanceFactory
- getScopeForType(Class<?>) - Method in class org.apache.logging.log4j.plugins.di.DefaultInstanceFactory
- getSpecifiedName(A) - Method in interface org.apache.logging.log4j.plugins.name.AnnotatedElementNameProvider
-
Returns the specified name from this annotation if given or
Optional.empty()
if none given. - getSpecifiedName(Named) - Method in class org.apache.logging.log4j.plugins.name.NamedQualifierNameProvider
- getSpecifiedName(Namespace) - Method in class org.apache.logging.log4j.plugins.name.CategoryNameProvider
- getSpecifiedName(Plugin) - Method in class org.apache.logging.log4j.plugins.name.PluginNameProvider
- getSpecifiedName(PluginAttribute) - Method in class org.apache.logging.log4j.plugins.name.PluginAttributeNameProvider
- getSpecifiedName(PluginBuilderAttribute) - Method in class org.apache.logging.log4j.plugins.name.PluginBuilderAttributeNameProvider
- getSpecifiedName(PluginElement) - Method in class org.apache.logging.log4j.plugins.name.PluginElementNameProvider
- getSpecifiedName(PluginValue) - Method in class org.apache.logging.log4j.plugins.name.PluginValueNameProvider
- getStaticFieldValue(Field) - Static method in class org.apache.logging.log4j.plugins.util.ReflectionUtil
-
Gets the value of a static
Field
, making it accessible if required. - getSuperclassTypeParameter(Class<?>) - Static method in class org.apache.logging.log4j.plugins.util.TypeUtil
- getSuppliedType() - Method in class org.apache.logging.log4j.plugins.di.Key
-
If this key's type
T
is a subtype ofSupplier<P>
for some supplied typeP
, then this returns a new key with that type argument along with the same name and qualifier type as this key. - getType() - Method in class org.apache.logging.log4j.plugins.di.Key
-
Returns the generic type of this key.
- getType() - Method in class org.apache.logging.log4j.plugins.Node
- getTypeConverter(Type) - Method in class org.apache.logging.log4j.plugins.convert.TypeConverterFactory
- getTypeConverter(Type) - Method in interface org.apache.logging.log4j.plugins.di.InstanceFactory
-
Gets a type converter for the provided type.
- getValue() - Method in class org.apache.logging.log4j.plugins.Node
H
- hasBinding(Key<?>) - Method in class org.apache.logging.log4j.plugins.di.DefaultInstanceFactory
- hasBinding(Key<?>) - Method in interface org.apache.logging.log4j.plugins.di.InstanceFactory
-
Indicates if a binding exists for the provided key.
- hasChildren() - Method in class org.apache.logging.log4j.plugins.Node
- hasDependency(Key<?>) - Method in interface org.apache.logging.log4j.plugins.di.spi.DependencyChain
-
Indicates if the given key is contained in this dependency chain.
- hashCode() - Method in class org.apache.logging.log4j.plugins.di.Key
- hashCode() - Method in record class org.apache.logging.log4j.plugins.di.spi.InjectionPoint
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.apache.logging.log4j.plugins.di.spi.ResolvableKey
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.apache.logging.log4j.plugins.model.PluginEntry
-
Returns a hash code value for this object.
- hasName(AnnotatedElement) - Static method in class org.apache.logging.log4j.plugins.di.Keys
-
Indicates if an annotated element has a named annotation present.
I
- initialize(A) - Method in interface org.apache.logging.log4j.plugins.validation.ConstraintValidator
-
Called before this validator is used with the constraint annotation value.
- initialize(Required) - Method in class org.apache.logging.log4j.plugins.validation.validators.RequiredValidator
- initialize(RequiredClass) - Method in class org.apache.logging.log4j.plugins.validation.validators.RequiredClassValidator
- initialize(ValidHost) - Method in class org.apache.logging.log4j.plugins.validation.validators.ValidHostValidator
- initialize(ValidPort) - Method in class org.apache.logging.log4j.plugins.validation.validators.ValidPortValidator
- Inject - Annotation Interface in org.apache.logging.log4j.plugins
-
Marks a constructor, field, or method for dependency injection.
- InjectException - Exception in org.apache.logging.log4j.plugins.di
- InjectException(String) - Constructor for exception org.apache.logging.log4j.plugins.di.InjectException
- InjectException(String, Throwable) - Constructor for exception org.apache.logging.log4j.plugins.di.InjectException
- injectField(Field, Object) - Method in class org.apache.logging.log4j.plugins.di.DefaultInstanceFactory
- InjectionPoint<T> - Record Class in org.apache.logging.log4j.plugins.di.spi
- InjectionPoint(Key<T>, Collection<String>, AnnotatedElement) - Constructor for record class org.apache.logging.log4j.plugins.di.spi.InjectionPoint
-
Creates an instance of a
InjectionPoint
record class. - injectMembers(Object) - Method in interface org.apache.logging.log4j.plugins.di.ConfigurableInstanceFactory
-
Injects dependencies into the members of the provided instance.
- injectMembers(Object) - Method in class org.apache.logging.log4j.plugins.di.DefaultInstanceFactory
- injectMembers(Key<?>, Object, DependencyChain) - Method in class org.apache.logging.log4j.plugins.di.DefaultInstanceFactory
- inScope(Class<? extends Annotation>) - Method in class org.apache.logging.log4j.plugins.di.DI.UnscopedBindingBuilder
-
Continues defining a binding in a particular scope.
- INSTANCE - Static variable in class org.apache.logging.log4j.plugins.util.OrderedComparator
- InstanceFactory - Interface in org.apache.logging.log4j.plugins.di
- InstancePostProcessor - Interface in org.apache.logging.log4j.plugins.di.spi
-
Provides a lifecycle hook for post-processing instances created by
InstanceFactory
. - instantiate(Class<T>) - Static method in class org.apache.logging.log4j.plugins.util.ReflectionUtil
-
Constructs a new
T
object using the default constructor of its class. - InternalException - Exception in org.apache.logging.log4j.plugins.util
-
Exception thrown when an error occurs while accessing internal resources.
- InternalException(String) - Constructor for exception org.apache.logging.log4j.plugins.util.InternalException
-
Construct an exception with a message.
- InternalException(String, Throwable) - Constructor for exception org.apache.logging.log4j.plugins.util.InternalException
-
Construct an exception with a message and underlying cause.
- InternalException(Throwable) - Constructor for exception org.apache.logging.log4j.plugins.util.InternalException
-
Construct an exception with an underlying cause.
- invokeFactory(Executable, Object...) - Method in class org.apache.logging.log4j.plugins.di.DefaultInstanceFactory
- invokeMethod(Method, Object, Object...) - Method in interface org.apache.logging.log4j.plugins.di.spi.ReflectionAgent
- isAccessible(T) - Static method in class org.apache.logging.log4j.plugins.util.ReflectionUtil
-
Indicates whether or not a
Member
is both public and is contained in a public class. - isAssignable(Type, Type) - Static method in class org.apache.logging.log4j.plugins.util.TypeUtil
-
Indicates if two
Type
s are assignment compatible. - isDeferChildren() - Method in class org.apache.logging.log4j.plugins.model.PluginEntry.Builder
- isDeferChildren() - Method in class org.apache.logging.log4j.plugins.model.PluginType
- isEmpty() - Method in interface org.apache.logging.log4j.plugins.di.spi.DependencyChain
-
Indicates whether this dependency chain is empty.
- isEmpty() - Method in class org.apache.logging.log4j.plugins.model.PluginNamespace
-
Indicates if this category has no plugins.
- isEmpty(Object) - Static method in class org.apache.logging.log4j.plugins.util.Assert
-
Checks if an object has empty semantics.
- isEqual(Type, Type) - Static method in class org.apache.logging.log4j.plugins.util.TypeUtil
- isInstanceOf(Class<?>) - Method in class org.apache.logging.log4j.plugins.Node
-
Determines if this node's object is an instance of the given class.
- isNonEmpty(Object) - Static method in class org.apache.logging.log4j.plugins.util.Assert
-
Opposite of
Assert.isEmpty(Object)
. - isObjectPrintable() - Method in class org.apache.logging.log4j.plugins.model.PluginType
- isPrintable() - Method in class org.apache.logging.log4j.plugins.model.PluginEntry.Builder
- isRoot() - Method in class org.apache.logging.log4j.plugins.Node
- isSensitive(A) - Method in class org.apache.logging.log4j.plugins.di.resolver.AbstractAttributeFactoryResolver
- isSensitive(PluginAttribute) - Method in class org.apache.logging.log4j.plugins.di.resolver.PluginAttributeFactoryResolver
- isSensitive(PluginBuilderAttribute) - Method in class org.apache.logging.log4j.plugins.di.resolver.PluginBuilderAttributeFactoryResolver
- isValid(String, Object) - Method in interface org.apache.logging.log4j.plugins.validation.ConstraintValidator
-
Indicates if the given value is valid.
- isValid(String, Object) - Method in class org.apache.logging.log4j.plugins.validation.validators.RequiredClassValidator
- isValid(String, Object) - Method in class org.apache.logging.log4j.plugins.validation.validators.RequiredValidator
- isValid(String, Object) - Method in class org.apache.logging.log4j.plugins.validation.validators.ValidHostValidator
- isValid(String, Object) - Method in class org.apache.logging.log4j.plugins.validation.validators.ValidPortValidator
- iterator() - Method in class org.apache.logging.log4j.plugins.model.PluginNamespace
K
- key() - Method in record class org.apache.logging.log4j.plugins.di.spi.InjectionPoint
-
Returns the value of the
key
record component. - key() - Method in record class org.apache.logging.log4j.plugins.di.spi.ResolvableKey
-
Returns the value of the
key
record component. - key() - Method in record class org.apache.logging.log4j.plugins.model.PluginEntry
-
Returns the value of the
key
record component. - Key<T> - Class in org.apache.logging.log4j.plugins.di
-
Keys represent a reified type with an optional
QualifierType
type, name, and namespace. - Key() - Constructor for class org.apache.logging.log4j.plugins.di.Key
-
Anonymous subclasses override this constructor to instantiate this Key based on the type given.
- KEY - Static variable in interface org.apache.logging.log4j.plugins.di.spi.StringValueResolver
- Key.Builder<T> - Class in org.apache.logging.log4j.plugins.di
-
Builder class for configuring a new
Key
instance. - Keys - Class in org.apache.logging.log4j.plugins.di
L
- LAST - Static variable in annotation interface org.apache.logging.log4j.plugins.Ordered
- loadCacheFiles(Enumeration<URL>) - Method in class org.apache.logging.log4j.plugins.model.PluginCache
-
Loads and merges all the Log4j plugin cache files specified.
- LOGGER - Static variable in class org.apache.logging.log4j.plugins.di.resolver.AbstractAttributeFactoryResolver
M
- makeAccessible(AccessibleObject) - Method in interface org.apache.logging.log4j.plugins.di.spi.ReflectionAgent
-
Invokes
AccessibleObject.setAccessible(boolean)
from a class contained in a module that will be used to perform reflective operations. - makeAccessible(Field) - Static method in class org.apache.logging.log4j.plugins.util.ReflectionUtil
-
Makes a
Field
accessible
if it is not public or if it is final. - makeAccessible(T) - Static method in class org.apache.logging.log4j.plugins.util.ReflectionUtil
-
Makes a
Member
accessible
if the member is not public. - matches(ConditionContext, AnnotatedElement) - Method in interface org.apache.logging.log4j.plugins.condition.Condition
- matches(ConditionContext, AnnotatedElement) - Method in class org.apache.logging.log4j.plugins.condition.OnMissingBindingCondition
- matches(ConditionContext, AnnotatedElement) - Method in class org.apache.logging.log4j.plugins.condition.OnPresentBindingsCondition
- merge(String, PluginType<?>) - Method in class org.apache.logging.log4j.plugins.model.PluginNamespace
-
Merges the provided plugin type into this namespace using the given key and returns the merged result.
- mergeAll(PluginNamespace) - Method in class org.apache.logging.log4j.plugins.model.PluginNamespace
- message() - Element in annotation interface org.apache.logging.log4j.plugins.validation.constraints.Required
-
The message to be logged if this constraint is violated.
- message() - Element in annotation interface org.apache.logging.log4j.plugins.validation.constraints.RequiredClass
-
The message to be logged if this constraint is violated.
- message() - Element in annotation interface org.apache.logging.log4j.plugins.validation.constraints.ValidHost
-
The message to be logged if this constraint is violated.
- message() - Element in annotation interface org.apache.logging.log4j.plugins.validation.constraints.ValidPort
-
The message to be logged if this constraint is violated.
N
- name() - Method in record class org.apache.logging.log4j.plugins.model.PluginEntry
-
Returns the value of the
name
record component. - Named - Annotation Interface in org.apache.logging.log4j.plugins
-
General naming qualifier for injectable objects.
- NamedQualifierNameProvider - Class in org.apache.logging.log4j.plugins.name
- NamedQualifierNameProvider() - Constructor for class org.apache.logging.log4j.plugins.name.NamedQualifierNameProvider
- NameProvider - Annotation Interface in org.apache.logging.log4j.plugins.name
-
Meta annotation for specifying named annotations and how to get a specified name from the named annotation.
- namespace() - Method in record class org.apache.logging.log4j.plugins.di.spi.ResolvableKey
- namespace() - Method in record class org.apache.logging.log4j.plugins.model.PluginEntry
-
Returns the value of the
namespace
record component. - Namespace - Annotation Interface in org.apache.logging.log4j.plugins
-
Annotations to separate
NameProvider
names into namespaces. - newBuilder() - Static method in class org.apache.logging.log4j.plugins.Node
- newChildInstanceFactory() - Method in interface org.apache.logging.log4j.plugins.di.ConfigurableInstanceFactory
-
Creates a new child instance factory from this factory which uses bindings from this factory as fallback bindings.
- newChildInstanceFactory() - Method in class org.apache.logging.log4j.plugins.di.DefaultInstanceFactory
- newChildInstanceFactory(Supplier<PropertyEnvironment>, Supplier<ClassLoader>) - Method in interface org.apache.logging.log4j.plugins.di.ConfigurableInstanceFactory
-
Creates a new child instance factory from this factory which uses bindings from this factory as fallback bindings.
- newChildInstanceFactory(Supplier<PropertyEnvironment>, Supplier<ClassLoader>) - Method in class org.apache.logging.log4j.plugins.di.DefaultInstanceFactory
- newInstance(Class<T>) - Method in interface org.apache.logging.log4j.plugins.di.spi.ReflectionAgent
- newInstance(Constructor<T>, Object...) - Method in interface org.apache.logging.log4j.plugins.di.spi.ReflectionAgent
- Node - Class in org.apache.logging.log4j.plugins
-
Configurations are represented as a tree of Node instances.
- Node() - Constructor for class org.apache.logging.log4j.plugins.Node
-
Constructs a root node.
- Node(Node) - Constructor for class org.apache.logging.log4j.plugins.Node
-
Constructs a fresh copy of the provided Node.
- Node(Node, String, PluginType<?>) - Constructor for class org.apache.logging.log4j.plugins.Node
-
Creates a new instance of
Node
and initializes it with a name and the corresponding XML element. - Node.Builder - Class in org.apache.logging.log4j.plugins
- NOOP - Static variable in interface org.apache.logging.log4j.plugins.di.spi.StringValueResolver
- NoQualifiedBindingException - Exception in org.apache.logging.log4j.plugins.di
- NoQualifiedBindingException(ResolvableKey<?>) - Constructor for exception org.apache.logging.log4j.plugins.di.NoQualifiedBindingException
-
Constructs an exception for the provided resolvable key.
- NotInjectableException - Exception in org.apache.logging.log4j.plugins.di
-
Exception thrown when an instance of a type is not injectable.
- NotInjectableException(Class<?>) - Constructor for exception org.apache.logging.log4j.plugins.di.NotInjectableException
- NotInjectableException(Key<?>) - Constructor for exception org.apache.logging.log4j.plugins.di.NotInjectableException
- NotInjectableException(Key<?>, DependencyChain) - Constructor for exception org.apache.logging.log4j.plugins.di.NotInjectableException
- NotInjectableException(ResolvableKey<?>) - Constructor for exception org.apache.logging.log4j.plugins.di.NotInjectableException
O
- of(InstanceFactory) - Static method in class org.apache.logging.log4j.plugins.condition.ConditionContext
- of(Key<?>) - Static method in interface org.apache.logging.log4j.plugins.di.spi.DependencyChain
-
Returns a dependency chain containing a single key.
- of(Key<T>) - Static method in record class org.apache.logging.log4j.plugins.di.spi.ResolvableKey
- of(Key<T>, Collection<String>) - Static method in record class org.apache.logging.log4j.plugins.di.spi.ResolvableKey
- of(Key<T>, Collection<String>, DependencyChain) - Static method in record class org.apache.logging.log4j.plugins.di.spi.ResolvableKey
- of(Key<T>, DependencyChain) - Static method in record class org.apache.logging.log4j.plugins.di.spi.ResolvableKey
- OnMissingBindingCondition - Class in org.apache.logging.log4j.plugins.condition
- OnMissingBindingCondition() - Constructor for class org.apache.logging.log4j.plugins.condition.OnMissingBindingCondition
- OnPresentBindingsCondition - Class in org.apache.logging.log4j.plugins.condition
- OnPresentBindingsCondition() - Constructor for class org.apache.logging.log4j.plugins.condition.OnPresentBindingsCondition
- OptionalFactoryResolver<T> - Class in org.apache.logging.log4j.plugins.di.resolver
- OptionalFactoryResolver() - Constructor for class org.apache.logging.log4j.plugins.di.resolver.OptionalFactoryResolver
- Ordered - Annotation Interface in org.apache.logging.log4j.plugins
-
Specifies the order in which the annotated element should be considered for dependency injection.
- OrderedComparator - Class in org.apache.logging.log4j.plugins.util
-
Comparator for annotated elements using
Ordered
followed by their name fromKeys.getName(java.lang.reflect.Field)
. - OrderedComparator() - Constructor for class org.apache.logging.log4j.plugins.util.OrderedComparator
- org.apache.logging.log4j.plugins - package org.apache.logging.log4j.plugins
-
Annotations for Log4j plugins.
- org.apache.logging.log4j.plugins.condition - package org.apache.logging.log4j.plugins.condition
- org.apache.logging.log4j.plugins.convert - package org.apache.logging.log4j.plugins.convert
-
TypeConverter plugins for converter strings into various types.
- org.apache.logging.log4j.plugins.di - package org.apache.logging.log4j.plugins.di
-
Dependency injection API.
- org.apache.logging.log4j.plugins.di.resolver - package org.apache.logging.log4j.plugins.di.resolver
-
Factory resolvers are strategies for creating instances matching supported keys from existing instance factories.
- org.apache.logging.log4j.plugins.di.spi - package org.apache.logging.log4j.plugins.di.spi
-
Provides various SPI classes for the DI system.
- org.apache.logging.log4j.plugins.model - package org.apache.logging.log4j.plugins.model
- org.apache.logging.log4j.plugins.name - package org.apache.logging.log4j.plugins.name
-
Strategies for extracting names and aliases from annotations.
- org.apache.logging.log4j.plugins.util - package org.apache.logging.log4j.plugins.util
- org.apache.logging.log4j.plugins.validation - package org.apache.logging.log4j.plugins.validation
-
Constraint validators for plugin factory methods.
- org.apache.logging.log4j.plugins.validation.constraints - package org.apache.logging.log4j.plugins.validation.constraints
-
Validation annotations.
- org.apache.logging.log4j.plugins.validation.validators - package org.apache.logging.log4j.plugins.validation.validators
-
ConstraintValidator implementations for the constraint annotations.
P
- parameterizedType() - Method in record class org.apache.logging.log4j.plugins.di.spi.ResolvableKey
- Plugin - Annotation Interface in org.apache.logging.log4j.plugins
-
Annotation that identifies a Class as a Plugin.
- PluginAliases - Annotation Interface in org.apache.logging.log4j.plugins
-
Identifies a list of aliases for an annotated plugin element.
- PluginAliasesProvider - Class in org.apache.logging.log4j.plugins.name
- PluginAliasesProvider() - Constructor for class org.apache.logging.log4j.plugins.name.PluginAliasesProvider
- PluginAnnotationFactoryResolversPostProcessor - Class in org.apache.logging.log4j.plugins.di.resolver
-
Post-processor that adds support for various plugin-related annotations.
- PluginAnnotationFactoryResolversPostProcessor() - Constructor for class org.apache.logging.log4j.plugins.di.resolver.PluginAnnotationFactoryResolversPostProcessor
- PluginAttribute - Annotation Interface in org.apache.logging.log4j.plugins
-
Qualifier for a plugin attribute for configuration options of a plugin.
- PluginAttributeFactoryResolver<T> - Class in org.apache.logging.log4j.plugins.di.resolver
-
Factory resolver for
PluginAttribute
-annotated keys. - PluginAttributeFactoryResolver() - Constructor for class org.apache.logging.log4j.plugins.di.resolver.PluginAttributeFactoryResolver
- PluginAttributeNameProvider - Class in org.apache.logging.log4j.plugins.name
- PluginAttributeNameProvider() - Constructor for class org.apache.logging.log4j.plugins.name.PluginAttributeNameProvider
- PluginBuilderAttribute - Annotation Interface in org.apache.logging.log4j.plugins
-
Qualifier for a plugin attribute for configuration options of a plugin.
- PluginBuilderAttributeFactoryResolver<T> - Class in org.apache.logging.log4j.plugins.di.resolver
-
Factory resolver for
PluginBuilderAttribute
-annotated keys. - PluginBuilderAttributeFactoryResolver() - Constructor for class org.apache.logging.log4j.plugins.di.resolver.PluginBuilderAttributeFactoryResolver
- PluginBuilderAttributeNameProvider - Class in org.apache.logging.log4j.plugins.name
- PluginBuilderAttributeNameProvider() - Constructor for class org.apache.logging.log4j.plugins.name.PluginBuilderAttributeNameProvider
- PluginCache - Class in org.apache.logging.log4j.plugins.model
- PluginCache() - Constructor for class org.apache.logging.log4j.plugins.model.PluginCache
- PluginElement - Annotation Interface in org.apache.logging.log4j.plugins
-
Qualifier for plugin elements which are configurable child plugins.
- PluginElementFactoryResolver<T> - Class in org.apache.logging.log4j.plugins.di.resolver
-
Factory resolver for
PluginElement
-annotated keys. - PluginElementFactoryResolver() - Constructor for class org.apache.logging.log4j.plugins.di.resolver.PluginElementFactoryResolver
- PluginElementFactoryResolver(Class<? extends Annotation>) - Constructor for class org.apache.logging.log4j.plugins.di.resolver.PluginElementFactoryResolver
- PluginElementNameProvider - Class in org.apache.logging.log4j.plugins.name
- PluginElementNameProvider() - Constructor for class org.apache.logging.log4j.plugins.name.PluginElementNameProvider
- PluginEntry - Record Class in org.apache.logging.log4j.plugins.model
-
Descriptor for
Plugin
metadata. - PluginEntry(String, String, String, String, boolean, boolean, String) - Constructor for record class org.apache.logging.log4j.plugins.model.PluginEntry
-
Creates an instance of a
PluginEntry
record class. - PluginEntry.Builder - Class in org.apache.logging.log4j.plugins.model
- PluginException - Exception in org.apache.logging.log4j.plugins
- PluginException(String) - Constructor for exception org.apache.logging.log4j.plugins.PluginException
- PluginException(String, Throwable) - Constructor for exception org.apache.logging.log4j.plugins.PluginException
- PluginFactory - Annotation Interface in org.apache.logging.log4j.plugins
- PluginListFactoryResolver<T> - Class in org.apache.logging.log4j.plugins.di.resolver
-
Factory resolver for
List<T>
of plugin instances or factories within a namespace. - PluginListFactoryResolver() - Constructor for class org.apache.logging.log4j.plugins.di.resolver.PluginListFactoryResolver
- PluginListSupplierFactoryResolver<T> - Class in org.apache.logging.log4j.plugins.di.resolver
- PluginListSupplierFactoryResolver() - Constructor for class org.apache.logging.log4j.plugins.di.resolver.PluginListSupplierFactoryResolver
- PluginMapFactoryResolver<T> - Class in org.apache.logging.log4j.plugins.di.resolver
-
Factory resolver for
Map<String, T>
of plugin instances or factories keyed by plugin name within a namespace. - PluginMapFactoryResolver() - Constructor for class org.apache.logging.log4j.plugins.di.resolver.PluginMapFactoryResolver
- PluginMapSupplierFactoryResolver<T> - Class in org.apache.logging.log4j.plugins.di.resolver
- PluginMapSupplierFactoryResolver() - Constructor for class org.apache.logging.log4j.plugins.di.resolver.PluginMapSupplierFactoryResolver
- PluginNameProvider - Class in org.apache.logging.log4j.plugins.name
- PluginNameProvider() - Constructor for class org.apache.logging.log4j.plugins.name.PluginNameProvider
- PluginNamespace - Class in org.apache.logging.log4j.plugins.model
-
Plugin namespaces are mappings of plugin keys to plugin classes where plugin keys are lower-cased versions of plugin names.
- PluginNamespace(String) - Constructor for class org.apache.logging.log4j.plugins.model.PluginNamespace
- PluginNamespace(String, String) - Constructor for class org.apache.logging.log4j.plugins.model.PluginNamespace
- PluginNamespaceFactoryResolver - Class in org.apache.logging.log4j.plugins.di.resolver
-
Factory resolver for
PluginNamespace
. - PluginNamespaceFactoryResolver() - Constructor for class org.apache.logging.log4j.plugins.di.resolver.PluginNamespaceFactoryResolver
- PluginNode - Annotation Interface in org.apache.logging.log4j.plugins
-
Identifies the configuration
Node
currently being configured. - PluginOptionalFactoryResolver<T> - Class in org.apache.logging.log4j.plugins.di.resolver
-
Factory resolver for
Optional<T>
plugin instances. - PluginOptionalFactoryResolver() - Constructor for class org.apache.logging.log4j.plugins.di.resolver.PluginOptionalFactoryResolver
- PluginOptionalSupplierFactoryResolver<T> - Class in org.apache.logging.log4j.plugins.di.resolver
- PluginOptionalSupplierFactoryResolver() - Constructor for class org.apache.logging.log4j.plugins.di.resolver.PluginOptionalSupplierFactoryResolver
- PluginRegistry - Class in org.apache.logging.log4j.plugins.model
-
Registry singleton for PluginType maps partitioned by source type and then by category names.
- PluginRegistry(ClassLoader) - Constructor for class org.apache.logging.log4j.plugins.model.PluginRegistry
- PluginService - Class in org.apache.logging.log4j.plugins.model
-
Provides plugin metadata for a module.
- PluginService() - Constructor for class org.apache.logging.log4j.plugins.model.PluginService
- PluginSetFactoryResolver<T> - Class in org.apache.logging.log4j.plugins.di.resolver
-
Factory resolver for
Set<T>
of plugin instances or factories within a namespace. - PluginSetFactoryResolver() - Constructor for class org.apache.logging.log4j.plugins.di.resolver.PluginSetFactoryResolver
- PluginSetSupplierFactoryResolver<T> - Class in org.apache.logging.log4j.plugins.di.resolver
- PluginSetSupplierFactoryResolver() - Constructor for class org.apache.logging.log4j.plugins.di.resolver.PluginSetSupplierFactoryResolver
- PluginStreamFactoryResolver<T> - Class in org.apache.logging.log4j.plugins.di.resolver
-
Factory resolver for
Stream<T>
of plugin instances or factories within a namespace. - PluginStreamFactoryResolver() - Constructor for class org.apache.logging.log4j.plugins.di.resolver.PluginStreamFactoryResolver
- PluginStreamPluginTypeFactoryResolver<T> - Class in org.apache.logging.log4j.plugins.di.resolver
- PluginStreamPluginTypeFactoryResolver() - Constructor for class org.apache.logging.log4j.plugins.di.resolver.PluginStreamPluginTypeFactoryResolver
- PluginStreamSupplierFactoryResolver<T> - Class in org.apache.logging.log4j.plugins.di.resolver
- PluginStreamSupplierFactoryResolver() - Constructor for class org.apache.logging.log4j.plugins.di.resolver.PluginStreamSupplierFactoryResolver
- PluginType<T> - Class in org.apache.logging.log4j.plugins.model
-
Plugin Descriptor.
- PluginType(PluginEntry, Class<T>) - Constructor for class org.apache.logging.log4j.plugins.model.PluginType
-
Constructor.
- PluginType(PluginEntry, ClassLoader) - Constructor for class org.apache.logging.log4j.plugins.model.PluginType
-
The Constructor.
- PluginTypeFactoryResolver<T> - Class in org.apache.logging.log4j.plugins.di.resolver
-
Factory resolver for
PluginType
. - PluginTypeFactoryResolver() - Constructor for class org.apache.logging.log4j.plugins.di.resolver.PluginTypeFactoryResolver
- PluginValue - Annotation Interface in org.apache.logging.log4j.plugins
-
Identifies a Plugin Value and its corresponding attribute alias for configuration formats that don't distinguish between values and attributes.
- PluginValueFactoryResolver - Class in org.apache.logging.log4j.plugins.di.resolver
-
Factory resolver for
PluginValue
-annotated keys. - PluginValueFactoryResolver() - Constructor for class org.apache.logging.log4j.plugins.di.resolver.PluginValueFactoryResolver
- PluginValueFactoryResolver(Class<? extends Annotation>) - Constructor for class org.apache.logging.log4j.plugins.di.resolver.PluginValueFactoryResolver
- PluginValueNameProvider - Class in org.apache.logging.log4j.plugins.name
- PluginValueNameProvider() - Constructor for class org.apache.logging.log4j.plugins.name.PluginValueNameProvider
- postProcessAfterInitialization(ResolvableKey<T>, T) - Method in class org.apache.logging.log4j.plugins.di.DefaultInstanceFactory
- postProcessAfterInitialization(ResolvableKey<T>, T) - Method in interface org.apache.logging.log4j.plugins.di.spi.InstancePostProcessor
- postProcessBeforeInitialization(ResolvableKey<T>, T) - Method in class org.apache.logging.log4j.plugins.di.DefaultInstanceFactory
- postProcessBeforeInitialization(ResolvableKey<T>, T) - Method in interface org.apache.logging.log4j.plugins.di.spi.InstancePostProcessor
- postProcessFactory(ConfigurableInstanceFactory) - Method in interface org.apache.logging.log4j.plugins.di.spi.ConfigurableInstanceFactoryPostProcessor
-
Runs post-processing on the provided factory.
- postProcessFactory(ConfigurableInstanceFactory) - Method in class org.apache.logging.log4j.plugins.di.spi.FactoryResolversPostProcessor
- postProcessFactory(ConfigurableInstanceFactory) - Method in class org.apache.logging.log4j.plugins.di.spi.SingletonScopePostProcessor
- printable() - Method in record class org.apache.logging.log4j.plugins.model.PluginEntry
-
Returns the value of the
printable
record component. - printObject() - Element in annotation interface org.apache.logging.log4j.plugins.Configurable
-
Indicates if the plugin class implements a useful
Object.toString()
method for use in debug log messages. - put(String, PluginType<?>) - Method in class org.apache.logging.log4j.plugins.model.PluginNamespace
-
Puts the provided plugin type into this category using the given key.
- put(PluginType<?>) - Method in class org.apache.logging.log4j.plugins.model.PluginNamespace
-
Puts the provided plugin type into this category.
Q
- QualifierType - Annotation Interface in org.apache.logging.log4j.plugins
-
Annotates a qualifier annotation which is used for distinguishing different instances of the same type.
R
- ReflectionAgent - Interface in org.apache.logging.log4j.plugins.di.spi
-
Provides reflection operations using the calling context of another class.
- ReflectionException - Exception in org.apache.logging.log4j.plugins.di.spi
-
Exception thrown when there is a problem performing a reflective operation.
- ReflectionException(String, Throwable) - Constructor for exception org.apache.logging.log4j.plugins.di.spi.ReflectionException
- ReflectionUtil - Class in org.apache.logging.log4j.plugins.util
-
Utility class for performing common reflective operations.
- registerBinding(Key<? super T>, Supplier<T>) - Method in interface org.apache.logging.log4j.plugins.di.ConfigurableInstanceFactory
-
Registers a binding between a key and factory.
- registerBinding(Key<? super T>, Supplier<T>) - Method in class org.apache.logging.log4j.plugins.di.DefaultInstanceFactory
- registerBindingIfAbsent(Key<? super T>, Supplier<T>) - Method in interface org.apache.logging.log4j.plugins.di.ConfigurableInstanceFactory
-
Registers a binding between a key and factory only if no binding exists for that key.
- registerBindingIfAbsent(Key<? super T>, Supplier<T>) - Method in class org.apache.logging.log4j.plugins.di.DefaultInstanceFactory
- registerBundle(Object) - Method in interface org.apache.logging.log4j.plugins.di.ConfigurableInstanceFactory
-
Registers a bundle.
- registerBundle(Object) - Method in class org.apache.logging.log4j.plugins.di.DefaultInstanceFactory
- registerBundleMethod(Object, Method) - Method in class org.apache.logging.log4j.plugins.di.DefaultInstanceFactory
- registerBundles(Object...) - Method in interface org.apache.logging.log4j.plugins.di.ConfigurableInstanceFactory
-
Registers multiple bundles.
- registerFactoryResolver(FactoryResolver<?>) - Method in interface org.apache.logging.log4j.plugins.di.ConfigurableInstanceFactory
-
Registers a factory resolver.
- registerFactoryResolver(FactoryResolver<?>) - Method in class org.apache.logging.log4j.plugins.di.DefaultInstanceFactory
- registerInstancePostProcessor(InstancePostProcessor) - Method in interface org.apache.logging.log4j.plugins.di.ConfigurableInstanceFactory
-
Registers an instance post-processor.
- registerInstancePostProcessor(InstancePostProcessor) - Method in class org.apache.logging.log4j.plugins.di.DefaultInstanceFactory
- registerScope(Class<? extends Annotation>, Scope) - Method in interface org.apache.logging.log4j.plugins.di.ConfigurableInstanceFactory
-
Registers a scope annotation type to the given Scope strategy.
- registerScope(Class<? extends Annotation>, Scope) - Method in class org.apache.logging.log4j.plugins.di.DefaultInstanceFactory
- removeBinding(Key<?>) - Method in interface org.apache.logging.log4j.plugins.di.ConfigurableInstanceFactory
-
Removes any existing binding for the provided key.
- removeBinding(Key<?>) - Method in class org.apache.logging.log4j.plugins.di.DefaultInstanceFactory
- removeMatchingAttribute(String, Collection<String>) - Method in class org.apache.logging.log4j.plugins.Node
-
Finds and removes the attribute with a name equaling ignoring case either the provided name or one of the provided aliases.
- Required - Annotation Interface in org.apache.logging.log4j.plugins.validation.constraints
-
Marks a plugin builder field or plugin factory parameter as required.
- RequiredClass - Annotation Interface in org.apache.logging.log4j.plugins.validation.constraints
-
Marks a plugin builder field or plugin factory parameter as required.
- RequiredClassValidator - Class in org.apache.logging.log4j.plugins.validation.validators
-
Validator that checks for the existence of a class that is required.
- RequiredClassValidator() - Constructor for class org.apache.logging.log4j.plugins.validation.validators.RequiredClassValidator
- RequiredValidator - Class in org.apache.logging.log4j.plugins.validation.validators
-
Validator that checks an object for emptiness.
- RequiredValidator() - Constructor for class org.apache.logging.log4j.plugins.validation.validators.RequiredValidator
- requireNonEmpty(T) - Static method in class org.apache.logging.log4j.plugins.util.Assert
-
Checks a value for emptiness and throws an IllegalArgumentException if it's empty.
- requireNonEmpty(T, String) - Static method in class org.apache.logging.log4j.plugins.util.Assert
-
Checks a value for emptiness and throws an IllegalArgumentException if it's empty.
- ResolvableKey<T> - Record Class in org.apache.logging.log4j.plugins.di.spi
- ResolvableKey(Key<T>, Collection<String>, DependencyChain) - Constructor for record class org.apache.logging.log4j.plugins.di.spi.ResolvableKey
-
Creates an instance of a
ResolvableKey
record class. - resolve(String) - Method in interface org.apache.logging.log4j.plugins.di.spi.StringValueResolver
-
Resolves the provided input string by potentially replacing variable placeholders.
- resolveKey(ResolvableKey<T>) - Method in class org.apache.logging.log4j.plugins.di.DefaultInstanceFactory
S
- Scope - Interface in org.apache.logging.log4j.plugins.di.spi
-
Scopes control the lifetime of instances with a
ScopeType
. - ScopeType - Annotation Interface in org.apache.logging.log4j.plugins
-
Marks an annotation as a scope type.
- sensitive() - Element in annotation interface org.apache.logging.log4j.plugins.PluginAttribute
-
Indicates that this attribute is a sensitive one that shouldn't be logged directly.
- sensitive() - Element in annotation interface org.apache.logging.log4j.plugins.PluginBuilderAttribute
-
Indicates that this attribute is a sensitive one that shouldn't be logged directly.
- setAttribute(String, String) - Method in class org.apache.logging.log4j.plugins.Node.Builder
- setAttributes(Map<String, String>) - Method in class org.apache.logging.log4j.plugins.Node.Builder
- setClassName(String) - Method in class org.apache.logging.log4j.plugins.model.PluginEntry.Builder
- setDeferChildren(boolean) - Method in class org.apache.logging.log4j.plugins.model.PluginEntry.Builder
- setElementType(String) - Method in class org.apache.logging.log4j.plugins.model.PluginEntry.Builder
- setFieldValue(Field, Object, Object) - Method in interface org.apache.logging.log4j.plugins.di.spi.ReflectionAgent
- setFieldValue(Field, Object, Object) - Static method in class org.apache.logging.log4j.plugins.util.ReflectionUtil
-
Sets the value of a
Field
, making it accessible if required. - setKey(String) - Method in class org.apache.logging.log4j.plugins.model.PluginEntry.Builder
- setName(String) - Method in class org.apache.logging.log4j.plugins.di.Key.Builder
-
Specifies the name of this key.
- setName(String) - Method in class org.apache.logging.log4j.plugins.model.PluginEntry.Builder
- setName(String) - Method in class org.apache.logging.log4j.plugins.Node.Builder
- setNamespace(String) - Method in class org.apache.logging.log4j.plugins.di.Key.Builder
-
Specifies the namespace of this key.
- setNamespace(String) - Method in class org.apache.logging.log4j.plugins.model.PluginEntry.Builder
- setObject(Object) - Method in class org.apache.logging.log4j.plugins.Node
- setOrder(int) - Method in class org.apache.logging.log4j.plugins.di.Key.Builder
-
Specifies the order of this key for disambiguation.
- setParent(Node) - Method in class org.apache.logging.log4j.plugins.Node
- setPluginType(PluginType<?>) - Method in class org.apache.logging.log4j.plugins.Node.Builder
- setPrintable(boolean) - Method in class org.apache.logging.log4j.plugins.model.PluginEntry.Builder
- setQualifierType(Class<? extends Annotation>) - Method in class org.apache.logging.log4j.plugins.di.Key.Builder
-
Specifies a qualifier annotation type.
- setReflectionAgent(ReflectionAgent) - Method in interface org.apache.logging.log4j.plugins.di.ConfigurableInstanceFactory
-
Sets the
ReflectionAgent
used for invokingAccessibleObject.setAccessible(boolean)
from an appropriate caller class. - setReflectionAgent(ReflectionAgent) - Method in class org.apache.logging.log4j.plugins.di.DefaultInstanceFactory
- setStaticFieldValue(Field, Object) - Static method in class org.apache.logging.log4j.plugins.util.ReflectionUtil
-
Sets the value of a static
Field
, making it accessible if required. - setValue(String) - Method in class org.apache.logging.log4j.plugins.Node.Builder
- setValue(String) - Method in class org.apache.logging.log4j.plugins.Node
- Singleton - Annotation Interface in org.apache.logging.log4j.plugins
-
Scope type where provided instances are singletons.
- SingletonFactory - Annotation Interface in org.apache.logging.log4j.plugins
- SingletonScopePostProcessor - Class in org.apache.logging.log4j.plugins.di.spi
-
Post-processor that adds support for the
Singleton
scope. - SingletonScopePostProcessor() - Constructor for class org.apache.logging.log4j.plugins.di.spi.SingletonScopePostProcessor
- size() - Method in class org.apache.logging.log4j.plugins.model.PluginCache
-
Gets the number of plugin namespaces registered.
- size() - Method in class org.apache.logging.log4j.plugins.model.PluginNamespace
-
Returns the number of plugins in this category.
- size() - Method in class org.apache.logging.log4j.plugins.model.PluginService
- StringValueResolver - Interface in org.apache.logging.log4j.plugins.di.spi
-
Strategy for replacing strings containing variable placeholders with their resolved values.
- SupplierFactoryResolver<T> - Class in org.apache.logging.log4j.plugins.di.resolver
-
Blueprint for supporting generic injection points or keys with a type
Supplier<T>
for some other typeT
. - SupplierFactoryResolver() - Constructor for class org.apache.logging.log4j.plugins.di.resolver.SupplierFactoryResolver
- supportsKey(Key<?>) - Method in class org.apache.logging.log4j.plugins.di.resolver.AbstractAttributeFactoryResolver
- supportsKey(Key<?>) - Method in class org.apache.logging.log4j.plugins.di.resolver.AbstractPluginFactoryResolver
- supportsKey(Key<?>) - Method in class org.apache.logging.log4j.plugins.di.resolver.OptionalFactoryResolver
- supportsKey(Key<?>) - Method in class org.apache.logging.log4j.plugins.di.resolver.PluginElementFactoryResolver
- supportsKey(Key<?>) - Method in class org.apache.logging.log4j.plugins.di.resolver.PluginNamespaceFactoryResolver
- supportsKey(Key<?>) - Method in class org.apache.logging.log4j.plugins.di.resolver.PluginValueFactoryResolver
- supportsKey(Key<?>) - Method in class org.apache.logging.log4j.plugins.di.resolver.SupplierFactoryResolver
- supportsKey(Key<?>) - Method in interface org.apache.logging.log4j.plugins.di.spi.FactoryResolver
-
Checks if this resolver supports the provided key.
- supportsType(Type, Type...) - Method in class org.apache.logging.log4j.plugins.di.resolver.AbstractPluginFactoryResolver
- supportsType(Type, Type...) - Method in class org.apache.logging.log4j.plugins.di.resolver.PluginListFactoryResolver
- supportsType(Type, Type...) - Method in class org.apache.logging.log4j.plugins.di.resolver.PluginListSupplierFactoryResolver
- supportsType(Type, Type...) - Method in class org.apache.logging.log4j.plugins.di.resolver.PluginMapFactoryResolver
- supportsType(Type, Type...) - Method in class org.apache.logging.log4j.plugins.di.resolver.PluginMapSupplierFactoryResolver
- supportsType(Type, Type...) - Method in class org.apache.logging.log4j.plugins.di.resolver.PluginOptionalFactoryResolver
- supportsType(Type, Type...) - Method in class org.apache.logging.log4j.plugins.di.resolver.PluginOptionalSupplierFactoryResolver
- supportsType(Type, Type...) - Method in class org.apache.logging.log4j.plugins.di.resolver.PluginSetFactoryResolver
- supportsType(Type, Type...) - Method in class org.apache.logging.log4j.plugins.di.resolver.PluginSetSupplierFactoryResolver
- supportsType(Type, Type...) - Method in class org.apache.logging.log4j.plugins.di.resolver.PluginStreamFactoryResolver
- supportsType(Type, Type...) - Method in class org.apache.logging.log4j.plugins.di.resolver.PluginStreamPluginTypeFactoryResolver
- supportsType(Type, Type...) - Method in class org.apache.logging.log4j.plugins.di.resolver.PluginStreamSupplierFactoryResolver
- supportsType(Type, Type...) - Method in class org.apache.logging.log4j.plugins.di.resolver.PluginTypeFactoryResolver
T
- toFunction(Function<InstanceFactory, ? extends Supplier<? extends T>>) - Method in class org.apache.logging.log4j.plugins.di.DI.UnscopedBindingBuilder
-
Adds a binding using a function that depends on
InstanceFactory
. - toInstance(T) - Method in class org.apache.logging.log4j.plugins.di.DI.UnscopedBindingBuilder
-
Adds the given instance as a binding to the configured key.
- toProvider(Supplier<? extends T>) - Method in class org.apache.logging.log4j.plugins.di.DI.ScopedBindingBuilder
-
Adds a scoped binding to the given provider function.
- toSingleton(Supplier<? extends T>) - Method in class org.apache.logging.log4j.plugins.di.DI.UnscopedBindingBuilder
-
Adds a singleton binding for the given supplier function.
- toString() - Method in class org.apache.logging.log4j.plugins.di.Key
- toString() - Method in record class org.apache.logging.log4j.plugins.di.spi.InjectionPoint
-
Returns a string representation of this record class.
- toString() - Method in record class org.apache.logging.log4j.plugins.di.spi.ResolvableKey
-
Returns a string representation of this record class.
- toString() - Method in class org.apache.logging.log4j.plugins.model.PluginEntry.Builder
- toString() - Method in record class org.apache.logging.log4j.plugins.model.PluginEntry
-
Returns a string representation of this record class.
- toString() - Method in class org.apache.logging.log4j.plugins.model.PluginType
- toString() - Method in class org.apache.logging.log4j.plugins.Node
- toUnscoped(Supplier<? extends T>) - Method in class org.apache.logging.log4j.plugins.di.DI.UnscopedBindingBuilder
-
Adds an unscoped binding for the given supplier function.
- TypeConverter<T> - Interface in org.apache.logging.log4j.plugins.convert
-
Interface for doing automatic String conversion to a specific type.
- TypeConverterFactory - Class in org.apache.logging.log4j.plugins.convert
- TypeConverterFactory(List<TypeConverter<?>>) - Constructor for class org.apache.logging.log4j.plugins.convert.TypeConverterFactory
- TypeConverters - Annotation Interface in org.apache.logging.log4j.plugins.convert
-
Plugin namespace for
TypeConverter
plugins. - TypeUtil - Class in org.apache.logging.log4j.plugins.util
-
Utility class for working with Java
Type
s and derivatives.
V
- validate(AnnotatedElement, String, Object) - Method in interface org.apache.logging.log4j.plugins.di.ConfigurableInstanceFactory
-
Runs discovered constraint validators for the given annotated element, name, and value.
- ValidHost - Annotation Interface in org.apache.logging.log4j.plugins.validation.constraints
-
Indicates that a plugin attribute must be a valid host.
- ValidHostValidator - Class in org.apache.logging.log4j.plugins.validation.validators
-
Validator that checks an object to verify it is a valid hostname or IP address.
- ValidHostValidator() - Constructor for class org.apache.logging.log4j.plugins.validation.validators.ValidHostValidator
- ValidPort - Annotation Interface in org.apache.logging.log4j.plugins.validation.constraints
-
Indicates that a plugin attribute must be a valid port number.
- ValidPortValidator - Class in org.apache.logging.log4j.plugins.validation.validators
-
Validator that checks an object to verify it is a valid port number (an integer between 0 and 65535).
- ValidPortValidator() - Constructor for class org.apache.logging.log4j.plugins.validation.validators.ValidPortValidator
- value() - Element in annotation interface org.apache.logging.log4j.plugins.condition.Conditional
-
Implementation class to use for performing conditional checks when a bundle class or bundle method is annotated with the conditional annotation this annotation is present on.
- value() - Element in annotation interface org.apache.logging.log4j.plugins.name.AliasesProvider
- value() - Element in annotation interface org.apache.logging.log4j.plugins.name.NameProvider
-
Strategy for extracting a specified name from an annotated element.
- value() - Element in annotation interface org.apache.logging.log4j.plugins.Named
-
Name and optional aliases this qualifier corresponds to.
- value() - Element in annotation interface org.apache.logging.log4j.plugins.Namespace
-
The namespace name.
- value() - Element in annotation interface org.apache.logging.log4j.plugins.Ordered
- value() - Element in annotation interface org.apache.logging.log4j.plugins.Plugin
-
Name of the plugin.
- value() - Element in annotation interface org.apache.logging.log4j.plugins.PluginAliases
-
Aliases the annotated element can also be referred to.
- value() - Element in annotation interface org.apache.logging.log4j.plugins.PluginAttribute
-
Specifies the name of the attribute (case-insensitive) this annotation corresponds to.
- value() - Element in annotation interface org.apache.logging.log4j.plugins.PluginBuilderAttribute
-
Specifies the attribute name this corresponds to.
- value() - Element in annotation interface org.apache.logging.log4j.plugins.PluginElement
-
Identifies the case-insensitive element name (or attribute name) this corresponds with in a configuration file.
- value() - Element in annotation interface org.apache.logging.log4j.plugins.PluginValue
-
Specifies the case-insensitive attribute name to use in configuration formats that don't distinguish between attributes and values.
- value() - Element in annotation interface org.apache.logging.log4j.plugins.validation.Constraint
-
ConstraintValidator
class that implements the validation logic for the annotated constraint annotation. - value() - Element in annotation interface org.apache.logging.log4j.plugins.validation.constraints.RequiredClass
-
The fully qualified name of the Class that is required
- valueIsAtLeast(int, int) - Static method in class org.apache.logging.log4j.plugins.util.Assert
W
- withDependency(Key<?>) - Method in interface org.apache.logging.log4j.plugins.di.spi.DependencyChain
-
Returns a new dependency chain containing the provided key as an additional dependency.
- withName(String) - Method in class org.apache.logging.log4j.plugins.di.Key
-
Returns a new key using the provided name and the same type and qualifier type as this instance.
- withNamespace(String) - Method in class org.apache.logging.log4j.plugins.di.Key
-
Returns a new key using the provided namespace otherwise populated with the same values as this instance.
- withQualifierType(Class<? extends Annotation>) - Method in class org.apache.logging.log4j.plugins.di.Key
-
Returns a new key using the provided qualifier type and the same type and name as this instance.
- withType(Type) - Method in class org.apache.logging.log4j.plugins.di.Key
-
Returns a new key using the provided type.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form