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

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

Introduction

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

Prototype

public JsonMapperConfigurator(ObjectMapper mapper, Annotations[] defAnnotations) 

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);//from w  w  w .java2 s . c o  m
}