Examples of SubtypeResolver


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
Copyright © 2018 www.massapi.com. 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.