public class MindObjectToHolderConverter extends java.lang.Object implements org.springframework.core.convert.converter.Converter<BaseObject,MindRpcMessageHolder>
Constructor and Description |
---|
MindObjectToHolderConverter(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Constructs converter with a jackson object mapper.
|
Modifier and Type | Method and Description |
---|---|
MindRpcMessageHolder |
convert(BaseObject source) |
public MindObjectToHolderConverter(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
objectMapper
- the object mapperpublic MindRpcMessageHolder convert(BaseObject source)
convert
in interface org.springframework.core.convert.converter.Converter<BaseObject,MindRpcMessageHolder>