public class JsonToObjectTransformer extends AbstractTransformer implements org.springframework.beans.factory.BeanClassLoaderAware
JsonObjectMapper
,
JacksonJsonObjectMapperProvider
logger
Constructor and Description |
---|
JsonToObjectTransformer() |
JsonToObjectTransformer(java.lang.Class<?> targetClass) |
JsonToObjectTransformer(java.lang.Class<?> targetClass,
JsonObjectMapper<?> jsonObjectMapper) |
JsonToObjectTransformer(java.lang.Class<?> targetClass,
java.lang.Object objectMapper)
Deprecated.
in favor of
JsonToObjectTransformer(Class, JsonObjectMapper) |
JsonToObjectTransformer(JsonObjectMapper<?> jsonObjectMapper) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.Object |
doTransform(Message<?> message)
Subclasses must implement this method to provide the transformation
logic.
|
void |
setBeanClassLoader(java.lang.ClassLoader classLoader) |
transform
afterPropertiesSet, getApplicationContextId, getBeanFactory, getComponentName, getComponentType, getConversionService, getIntegrationProperties, getIntegrationProperty, getTaskScheduler, onInit, setApplicationContext, setBeanFactory, setBeanName, setComponentName, setConversionService, setTaskScheduler, toString
public JsonToObjectTransformer()
public JsonToObjectTransformer(java.lang.Class<?> targetClass)
@Deprecated public JsonToObjectTransformer(java.lang.Class<?> targetClass, java.lang.Object objectMapper) throws java.lang.ClassNotFoundException
JsonToObjectTransformer(Class, JsonObjectMapper)
java.lang.ClassNotFoundException
public JsonToObjectTransformer(JsonObjectMapper<?> jsonObjectMapper)
public JsonToObjectTransformer(java.lang.Class<?> targetClass, JsonObjectMapper<?> jsonObjectMapper)
public void setBeanClassLoader(java.lang.ClassLoader classLoader)
setBeanClassLoader
in interface org.springframework.beans.factory.BeanClassLoaderAware
protected java.lang.Object doTransform(Message<?> message) throws java.lang.Exception
AbstractTransformer
doTransform
in class AbstractTransformer
java.lang.Exception