Example usage for com.fasterxml.jackson.jaxrs.json JsonMapperConfigurator getDefaultMapper

List of usage examples for com.fasterxml.jackson.jaxrs.json JsonMapperConfigurator getDefaultMapper

Introduction

In this page you can find the example usage for com.fasterxml.jackson.jaxrs.json JsonMapperConfigurator getDefaultMapper.

Prototype

@Override
    public synchronized ObjectMapper getDefaultMapper() 

Source Link

Usage

From source file:org.fabric3.admin.interpreter.communication.DomainConnectionImpl.java

public DomainConnectionImpl() {
    JsonMapperConfigurator configurator = new JsonMapperConfigurator(null, DEFAULT_ANNOTATIONS);
    mapper = configurator.getDefaultMapper();
    aliases = new LinkedList<>();
    addresses = new LinkedList<>();
    aliases.add("default");
    addresses.add(ADDRESS);/*  w ww .ja  v  a 2  s . com*/
}