org.springframework.flex.core.io
Class PersistentCollectionConverterFactory
java.lang.Object
org.springframework.flex.core.io.PersistentCollectionConverterFactory
- All Implemented Interfaces:
- ConverterFactory<org.hibernate.collection.PersistentCollection,Object>
public class PersistentCollectionConverterFactory
- extends Object
- implements ConverterFactory<org.hibernate.collection.PersistentCollection,Object>
ConverterFactory
implementation that supplies a Converter
instance that can convert PersistentCollection
instances from Hibernate. Given a specific PersistentCollection
instance, the converter will:
- Convert to null if the
PersistentCollection
instance is uninitialized
- Convert to the wrapped collection class if the
PersistentCollection
is initialized
- Author:
- Jeremy Grelle
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PersistentCollectionConverterFactory
public PersistentCollectionConverterFactory()
getConverter
public <T> Converter<org.hibernate.collection.PersistentCollection,T> getConverter(Class<T> targetType)
- Specified by:
getConverter
in interface ConverterFactory<org.hibernate.collection.PersistentCollection,Object>
Copyright © 2011. All Rights Reserved.