V
- type of the value passed to the resolver
C
- type of the context passed to the create(TemplateResolverContext, TemplateResolverConfig)
creator}public interface TemplateResolverFactory<V,C extends org.apache.logging.log4j.layout.template.json.resolver.TemplateResolverContext<V,C>>
TemplateResolver
factory.Modifier and Type | Field and Description |
---|---|
static String |
CATEGORY
Main plugin category for
TemplateResolverFactory implementations. |
Modifier and Type | Method and Description |
---|---|
TemplateResolver<V> |
create(C context,
TemplateResolverConfig config) |
Class<C> |
getContextClass()
The targeted
TemplateResolverContext class. |
String |
getName() |
Class<V> |
getValueClass()
The targeted value class.
|
static final String CATEGORY
TemplateResolverFactory
implementations.String getName()
TemplateResolver<V> create(C context, TemplateResolverConfig config)
Copyright © 1999-2021 The Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.