org.springframework.amqp.support.converter
Class DefaultClassMapper
java.lang.Object
org.springframework.amqp.support.converter.DefaultClassMapper
- All Implemented Interfaces:
- ClassMapper, InitializingBean
public class DefaultClassMapper
- extends Object
- implements ClassMapper, InitializingBean
- Author:
- Mark Pollack
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_CLASSID_FIELD_NAME
public static final String DEFAULT_CLASSID_FIELD_NAME
- See Also:
- Constant Field Values
DefaultClassMapper
public DefaultClassMapper()
setDefaultHashtableClass
public void setDefaultHashtableClass(Class<?> defaultHashtableClass)
getClassIdFieldName
public String getClassIdFieldName()
- Specified by:
getClassIdFieldName
in interface ClassMapper
setIdClassMapping
public void setIdClassMapping(Map<String,Class<?>> idClassMapping)
fromClass
public String fromClass(Class<?> classOfObjectToConvert)
- Specified by:
fromClass
in interface ClassMapper
toClass
public Class<?> toClass(String classId)
- Specified by:
toClass
in interface ClassMapper
afterPropertiesSet
public void afterPropertiesSet()
throws Exception
- Specified by:
afterPropertiesSet
in interface InitializingBean
- Throws:
Exception
Copyright © 2010. All Rights Reserved.