Class AbstractJavaTypeMapper
java.lang.Object
org.springframework.amqp.support.converter.AbstractJavaTypeMapper
- All Implemented Interfaces:
Aware
,BeanClassLoaderAware
- Direct Known Subclasses:
DefaultJackson2JavaTypeMapper
Abstract type mapper.
- Author:
- Mark Pollack, Sam Nelson, Andreas Asplund, Gary Russell
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
addHeader
(MessageProperties properties, String headerName, Class<?> clazz) protected com.fasterxml.jackson.databind.JavaType
fromInferredTypeHeader
(MessageProperties properties) protected ClassLoader
protected boolean
hasInferredTypeHeader
(MessageProperties properties) protected String
retrieveHeader
(MessageProperties properties, String headerName) protected String
retrieveHeaderAsString
(MessageProperties properties, String headerName) void
setBeanClassLoader
(ClassLoader classLoader) void
setIdClassMapping
(Map<String, Class<?>> idClassMapping)
-
Field Details
-
DEFAULT_CLASSID_FIELD_NAME
- See Also:
-
DEFAULT_CONTENT_CLASSID_FIELD_NAME
- See Also:
-
DEFAULT_KEY_CLASSID_FIELD_NAME
- See Also:
-
-
Constructor Details
-
AbstractJavaTypeMapper
public AbstractJavaTypeMapper()
-
-
Method Details
-
getClassIdFieldName
-
getContentClassIdFieldName
-
getKeyClassIdFieldName
-
setIdClassMapping
-
setBeanClassLoader
- Specified by:
setBeanClassLoader
in interfaceBeanClassLoaderAware
-
getClassLoader
-
addHeader
-
retrieveHeader
-
retrieveHeaderAsString
-
getIdClassMapping
-
hasInferredTypeHeader
-
fromInferredTypeHeader
protected com.fasterxml.jackson.databind.JavaType fromInferredTypeHeader(MessageProperties properties)
-