public class MapToObjectTransformer extends AbstractPayloadTransformer<java.util.Map<?,?>,java.lang.Object>
MessageTransformationException will be thrown.
This transformer is integrated with the ConversionService allowing values in the Map to be converted
to types that represent the properties of the Object.logger| Constructor and Description |
|---|
MapToObjectTransformer(java.lang.Class<?> targetClass) |
MapToObjectTransformer(java.lang.String beanName) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
onInit()
Subclasses may implement this for initialization logic.
|
protected java.lang.Object |
transformPayload(java.util.Map<?,?> payload) |
doTransformtransformafterPropertiesSet, getApplicationContextId, getBeanFactory, getComponentName, getComponentType, getConversionService, getIntegrationProperties, getIntegrationProperty, getTaskScheduler, setApplicationContext, setBeanFactory, setBeanName, setComponentName, setConversionService, setTaskScheduler, toStringpublic MapToObjectTransformer(java.lang.Class<?> targetClass)
targetClass - public MapToObjectTransformer(java.lang.String beanName)
beanName - protected java.lang.Object transformPayload(java.util.Map<?,?> payload)
throws java.lang.Exception
transformPayload in class AbstractPayloadTransformer<java.util.Map<?,?>,java.lang.Object>java.lang.Exceptionprotected void onInit()
IntegrationObjectSupportonInit in class IntegrationObjectSupport