Class AbstractJavaTypeMapper

java.lang.Object
org.springframework.amqp.support.converter.AbstractJavaTypeMapper
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanClassLoaderAware
Direct Known Subclasses:
DefaultJackson2JavaTypeMapper

@Deprecated(forRemoval=true, since="4.0") public abstract class AbstractJavaTypeMapper extends Object implements org.springframework.beans.factory.BeanClassLoaderAware
Deprecated, for removal: This API element is subject to removal in a future version.
since 4.0 in favor of DefaultJacksonJavaTypeMapper for Jackson 3.
Abstract type mapper.
  • Field Details

    • DEFAULT_CLASSID_FIELD_NAME

      public static final String DEFAULT_CLASSID_FIELD_NAME
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • DEFAULT_CONTENT_CLASSID_FIELD_NAME

      public static final String DEFAULT_CONTENT_CLASSID_FIELD_NAME
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • DEFAULT_KEY_CLASSID_FIELD_NAME

      public static final String DEFAULT_KEY_CLASSID_FIELD_NAME
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
  • Constructor Details

    • AbstractJavaTypeMapper

      public AbstractJavaTypeMapper()
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • getClassIdFieldName

      public String getClassIdFieldName()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getContentClassIdFieldName

      public String getContentClassIdFieldName()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getKeyClassIdFieldName

      public String getKeyClassIdFieldName()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setIdClassMapping

      public void setIdClassMapping(Map<String,Class<?>> idClassMapping)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setBeanClassLoader

      public void setBeanClassLoader(ClassLoader classLoader)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      setBeanClassLoader in interface org.springframework.beans.factory.BeanClassLoaderAware
    • getClassLoader

      protected @Nullable ClassLoader getClassLoader()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • addHeader

      protected void addHeader(MessageProperties properties, String headerName, Class<?> clazz)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • retrieveHeader

      protected String retrieveHeader(MessageProperties properties, String headerName)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • retrieveHeaderAsString

      protected @Nullable String retrieveHeaderAsString(MessageProperties properties, String headerName)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getIdClassMapping

      public Map<String,Class<?>> getIdClassMapping()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • hasInferredTypeHeader

      protected boolean hasInferredTypeHeader(MessageProperties properties)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • fromInferredTypeHeader

      protected com.fasterxml.jackson.databind.JavaType fromInferredTypeHeader(MessageProperties properties)
      Deprecated, for removal: This API element is subject to removal in a future version.