Class CoherenceGenericConverter
java.lang.Object
com.oracle.coherence.spring.configuration.support.CoherenceGenericConverter
- All Implemented Interfaces:
org.springframework.core.convert.converter.GenericConverter
public class CoherenceGenericConverter
extends Object
implements org.springframework.core.convert.converter.GenericConverter
This implementation of Spring's
GenericConverter is a no-op converter for Coherence's NamedCache. Its
purpose is to work around an unnecessary type-conversion that may be triggered by the
CoherenceMap and
CoherenceCache annotation (Due to the used
Value annotation).- Since:
- 3.0.1
- Author:
- Gunnar Hillert
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.springframework.core.convert.converter.GenericConverter
org.springframework.core.convert.converter.GenericConverter.ConvertiblePair -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
CoherenceGenericConverter
public CoherenceGenericConverter()
-
-
Method Details
-
getConvertibleTypes
public Set<org.springframework.core.convert.converter.GenericConverter.ConvertiblePair> getConvertibleTypes()- Specified by:
getConvertibleTypesin interfaceorg.springframework.core.convert.converter.GenericConverter
-
convert
public Object convert(Object source, org.springframework.core.convert.TypeDescriptor sourceType, org.springframework.core.convert.TypeDescriptor targetType) - Specified by:
convertin interfaceorg.springframework.core.convert.converter.GenericConverter
-