org.springframework.flex.core.io
Class HibernateProxyConverter
java.lang.Object
org.springframework.flex.core.io.HibernateProxyConverter
- All Implemented Interfaces:
- GenericConverter
public class HibernateProxyConverter
- extends Object
- implements GenericConverter
GenericConverter
implementation that converts from HibernateProxy
to Object
and will either:
- Convert to null if the
HibernateProxy
instance is uninitialized
- Convert to the underlying proxied class if the
HibernateProxy
is initialized
- Author:
- Jeremy Grelle
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HibernateProxyConverter
public HibernateProxyConverter()
convert
public Object convert(Object source,
TypeDescriptor sourceType,
TypeDescriptor targetType)
-
- Specified by:
convert
in interface GenericConverter
getConvertibleTypes
public Set<GenericConverter.ConvertiblePair> getConvertibleTypes()
-
- Specified by:
getConvertibleTypes
in interface GenericConverter
Copyright © 2011. All Rights Reserved.