Spring AMQP

org.springframework.amqp.support.converter
Class DefaultJavaTypeMapper

java.lang.Object
  extended by org.springframework.amqp.support.converter.AbstractJavaTypeMapper
      extended by org.springframework.amqp.support.converter.DefaultJavaTypeMapper
All Implemented Interfaces:
ClassMapper, JavaTypeMapper, InitializingBean

public class DefaultJavaTypeMapper
extends AbstractJavaTypeMapper
implements JavaTypeMapper, ClassMapper

Author:
Mark Pollack, Sam Nelson, Andreas Asplund

Field Summary
 
Fields inherited from class org.springframework.amqp.support.converter.AbstractJavaTypeMapper
DEFAULT_CLASSID_FIELD_NAME, DEFAULT_CONTENT_CLASSID_FIELD_NAME, DEFAULT_KEY_CLASSID_FIELD_NAME
 
Constructor Summary
DefaultJavaTypeMapper()
           
 
Method Summary
 void fromClass(Class<?> clazz, MessageProperties properties)
           
 void fromJavaType(org.codehaus.jackson.type.JavaType javaType, MessageProperties properties)
           
 Class<?> toClass(MessageProperties properties)
           
 org.codehaus.jackson.type.JavaType toJavaType(MessageProperties properties)
           
 
Methods inherited from class org.springframework.amqp.support.converter.AbstractJavaTypeMapper
addHeader, afterPropertiesSet, getClassIdFieldName, getContentClassIdFieldName, getIdClassMapping, getKeyClassIdFieldName, retrieveHeader, setIdClassMapping
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultJavaTypeMapper

public DefaultJavaTypeMapper()
Method Detail

toJavaType

public org.codehaus.jackson.type.JavaType toJavaType(MessageProperties properties)
Specified by:
toJavaType in interface JavaTypeMapper

fromJavaType

public void fromJavaType(org.codehaus.jackson.type.JavaType javaType,
                         MessageProperties properties)
Specified by:
fromJavaType in interface JavaTypeMapper

fromClass

public void fromClass(Class<?> clazz,
                      MessageProperties properties)
Specified by:
fromClass in interface ClassMapper

toClass

public Class<?> toClass(MessageProperties properties)
Specified by:
toClass in interface ClassMapper

Spring AMQP