public class MapToObjectTransformer extends AbstractPayloadTransformer<Map<?,?>,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(Class<?> targetClass) |
MapToObjectTransformer(String beanName) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
onInit()
Subclasses may implement this for initialization logic.
|
protected Object |
transformPayload(Map<?,?> payload) |
doTransformtransformafterPropertiesSet, getApplicationContextId, getBeanFactory, getComponentName, getComponentType, getConversionService, getIntegrationProperties, getIntegrationProperty, getTaskScheduler, setApplicationContext, setBeanFactory, setBeanName, setComponentName, setConversionService, setTaskScheduler, toStringpublic MapToObjectTransformer(Class<?> targetClass)
targetClass - public MapToObjectTransformer(String beanName)
beanName - protected Object transformPayload(Map<?,?> payload) throws Exception
transformPayload in class AbstractPayloadTransformer<Map<?,?>,Object>Exceptionprotected void onInit()
IntegrationObjectSupportonInit in class IntegrationObjectSupportCopyright © 2016. All rights reserved.