Spring Integration

org.springframework.integration.support.json
Class JacksonJsonObjectMapperProvider

java.lang.Object
  extended by org.springframework.integration.support.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 not any of them, IllegalStateException will be thrown.

Since:
3.0
Author:
Artem Bilan, Gary Russell
See Also:
Jackson2JsonObjectMapper, JacksonJsonObjectMapper

Constructor Summary
JacksonJsonObjectMapperProvider()
           
 
Method Summary
static JsonObjectMapper<?> newInstance()
           
 
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()

Spring Integration