Spring Integration

org.springframework.integration.json
Class JacksonJsonObjectMapperProvider

java.lang.Object
  extended by org.springframework.integration.json.JacksonJsonObjectMapperProvider

public final class JacksonJsonObjectMapperProvider
extends java.lang.Object

Simple factory to provide Jackson2JsonObjectMapper or JacksonJsonObjectMapper instances dependently of jackson-databind or jackson-mapper-asl libs in the classpath. If there are both libs in the classpath, it prefers Jackson 2 JSON-processor implementation. If there is no any of them, IllegalStateException will be thrown.

Since:
3.0
Author:
Artem Bilan
See Also:
Jackson2JsonObjectMapper, JacksonJsonObjectMapper, JsonToObjectTransformer, ObjectToJsonTransformer

Constructor Summary
JacksonJsonObjectMapperProvider()
           
 
Method Summary
static JsonObjectMapper<?> newInstance()
           
static JsonInboundMessageMapper.JsonMessageParser<?> newJsonMessageParser()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JacksonJsonObjectMapperProvider

public JacksonJsonObjectMapperProvider()
Method Detail

newInstance

public static JsonObjectMapper<?> newInstance()

newJsonMessageParser

public static JsonInboundMessageMapper.JsonMessageParser<?> newJsonMessageParser()

Spring Integration