Package com.fasterxml.jackson.databind.jsontype

Examples of com.fasterxml.jackson.databind.jsontype.SubtypeResolver


    public Configuration build() throws Exception
    {
        ObjectMapper mapper = new ObjectMapper();
        mapper.registerModule(new LogbackModule());
        mapper.setPropertyNamingStrategy(new AnnotationSensitivePropertyNamingStrategy());
        SubtypeResolver subtypeResolver = new StdSubtypeResolver();
        subtypeResolver.registerSubtypes
        (
            ConsoleAppenderFactory.class,
            FileAppenderFactory.class,
            SyslogAppenderFactory.class,
            ExponentialBackoffRetryConfiguration.class,
View Full Code Here

TOP

Related Classes of com.fasterxml.jackson.databind.jsontype.SubtypeResolver

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.