Class CoherenceGenericConverter
- java.lang.Object
-
- com.oracle.coherence.spring.configuration.support.CoherenceGenericConverter
-
- All Implemented Interfaces:
GenericConverter
public class CoherenceGenericConverter extends Object implements GenericConverter
This implementation of Spring'sGenericConverter
is a no-op converter for Coherence'sNamedCache
. Its purpose is to work around an unnecessary type-conversion that may be triggered by theCoherenceMap
andCoherenceCache
annotation (Due to the usedValue
annotation).- Since:
- 3.0.1
- Author:
- Gunnar Hillert
- See Also:
CoherenceConversionServicePostProcessor
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.springframework.core.convert.converter.GenericConverter
GenericConverter.ConvertiblePair
-
-
Constructor Summary
Constructors Constructor Description CoherenceGenericConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
convert(Object source, TypeDescriptor sourceType, TypeDescriptor targetType)
Set<GenericConverter.ConvertiblePair>
getConvertibleTypes()
-
-
-
Method Detail
-
getConvertibleTypes
public Set<GenericConverter.ConvertiblePair> getConvertibleTypes()
- Specified by:
getConvertibleTypes
in interfaceGenericConverter
-
convert
public Object convert(Object source, TypeDescriptor sourceType, TypeDescriptor targetType)
- Specified by:
convert
in interfaceGenericConverter
-
-