Class PluginBuilderAttributeFactoryResolver<T>
java.lang.Object
org.apache.logging.log4j.plugins.di.resolver.AbstractAttributeFactoryResolver<T,PluginBuilderAttribute>
org.apache.logging.log4j.plugins.di.resolver.PluginBuilderAttributeFactoryResolver<T>
- All Implemented Interfaces:
FactoryResolver<T>
public class PluginBuilderAttributeFactoryResolver<T>
extends AbstractAttributeFactoryResolver<T,PluginBuilderAttribute>
Factory resolver for
PluginBuilderAttribute
-annotated keys. This injects a plugin configuration option.-
Field Summary
Fields inherited from class org.apache.logging.log4j.plugins.di.resolver.AbstractAttributeFactoryResolver
annotationType, LOGGER
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected @Nullable T
getDefaultValue
(PluginBuilderAttribute annotation, StringValueResolver resolver, Type type, TypeConverter<T> typeConverter) protected boolean
isSensitive
(PluginBuilderAttribute annotation) Methods inherited from class org.apache.logging.log4j.plugins.di.resolver.AbstractAttributeFactoryResolver
getFactory, supportsKey
-
Constructor Details
-
PluginBuilderAttributeFactoryResolver
public PluginBuilderAttributeFactoryResolver()
-
-
Method Details
-
isSensitive
- Specified by:
isSensitive
in classAbstractAttributeFactoryResolver<T,
PluginBuilderAttribute>
-
getDefaultValue
protected @Nullable T getDefaultValue(PluginBuilderAttribute annotation, StringValueResolver resolver, Type type, TypeConverter<T> typeConverter) - Specified by:
getDefaultValue
in classAbstractAttributeFactoryResolver<T,
PluginBuilderAttribute>
-