Class MainMapResolverFactory
- java.lang.Object
-
- org.apache.logging.log4j.layout.template.json.resolver.MainMapResolverFactory
-
- All Implemented Interfaces:
EventResolverFactory
,TemplateResolverFactory<LogEvent,EventResolverContext>
@Plugin(name="MainMapResolverFactory", category="JsonTemplateResolverFactory") public final class MainMapResolverFactory extends java.lang.Object implements EventResolverFactory
MainMapResolver
factory.
-
-
Field Summary
Fields Modifier and Type Field Description private static MainMapResolverFactory
INSTANCE
-
Fields inherited from interface org.apache.logging.log4j.layout.template.json.resolver.TemplateResolverFactory
CATEGORY
-
-
Constructor Summary
Constructors Modifier Constructor Description private
MainMapResolverFactory()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MainMapResolver
create(EventResolverContext context, TemplateResolverConfig config)
static MainMapResolverFactory
getInstance()
java.lang.String
getName()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.logging.log4j.layout.template.json.resolver.EventResolverFactory
getContextClass, getValueClass
-
-
-
-
Field Detail
-
INSTANCE
private static final MainMapResolverFactory INSTANCE
-
-
Method Detail
-
getInstance
@PluginFactory public static MainMapResolverFactory getInstance()
-
getName
public java.lang.String getName()
- Specified by:
getName
in interfaceTemplateResolverFactory<LogEvent,EventResolverContext>
-
create
public MainMapResolver create(EventResolverContext context, TemplateResolverConfig config)
- Specified by:
create
in interfaceTemplateResolverFactory<LogEvent,EventResolverContext>
-
-