Class ExceptionResolverFactory
- java.lang.Object
-
- org.apache.logging.log4j.layout.template.json.resolver.ExceptionResolverFactory
-
- All Implemented Interfaces:
EventResolverFactory
,TemplateResolverFactory<LogEvent,EventResolverContext>
@Plugin(name="ExceptionResolverFactory", category="JsonTemplateResolverFactory") public final class ExceptionResolverFactory extends java.lang.Object implements EventResolverFactory
ExceptionResolver
factory.
-
-
Field Summary
Fields Modifier and Type Field Description private static ExceptionResolverFactory
INSTANCE
-
Fields inherited from interface org.apache.logging.log4j.layout.template.json.resolver.TemplateResolverFactory
CATEGORY
-
-
Constructor Summary
Constructors Modifier Constructor Description private
ExceptionResolverFactory()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ExceptionResolver
create(EventResolverContext context, TemplateResolverConfig config)
static ExceptionResolverFactory
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 ExceptionResolverFactory INSTANCE
-
-
Method Detail
-
getInstance
@PluginFactory public static ExceptionResolverFactory getInstance()
-
getName
public java.lang.String getName()
- Specified by:
getName
in interfaceTemplateResolverFactory<LogEvent,EventResolverContext>
-
create
public ExceptionResolver create(EventResolverContext context, TemplateResolverConfig config)
- Specified by:
create
in interfaceTemplateResolverFactory<LogEvent,EventResolverContext>
-
-