org.apache.logging.log4j.core.appender.db.jpa.converter
Class StackTraceElementAttributeConverter
java.lang.Object
org.apache.logging.log4j.core.appender.db.jpa.converter.StackTraceElementAttributeConverter
- All Implemented Interfaces:
- AttributeConverter<StackTraceElement,String>
public class StackTraceElementAttributeConverter
- extends Object
- implements AttributeConverter<StackTraceElement,String>
A JPA 2.1 attribute converter for StackTraceElements in LogEvents. This
converter is capable of converting both to and from Strings.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StackTraceElementAttributeConverter
public StackTraceElementAttributeConverter()
convertToDatabaseColumn
public String convertToDatabaseColumn(StackTraceElement element)
- Specified by:
convertToDatabaseColumn in interface AttributeConverter<StackTraceElement,String>
convertToEntityAttribute
public StackTraceElement convertToEntityAttribute(String s)
- Specified by:
convertToEntityAttribute in interface AttributeConverter<StackTraceElement,String>
Copyright © 1999-2015 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.