Class ContextStackJsonAttributeConverter

  • All Implemented Interfaces:
    javax.persistence.AttributeConverter<ThreadContext.ContextStack,​java.lang.String>

    public class ContextStackJsonAttributeConverter
    extends java.lang.Object
    implements javax.persistence.AttributeConverter<ThreadContext.ContextStack,​java.lang.String>
    A JPA 2.1 attribute converter for ThreadContext.ContextStacks in LogEvents. This converter is capable of converting both to and from Strings. In addition to other optional dependencies required by the JPA appender, this converter requires the Jackson Data Processor.
    • Constructor Detail

      • ContextStackJsonAttributeConverter

        public ContextStackJsonAttributeConverter()