Package org.jmolecules.spring.config
Class JMoleculesConverterConfigUtils
java.lang.Object
org.jmolecules.spring.config.JMoleculesConverterConfigUtils
Utilities to easily configure JMolecules
Converter implementations within a ConversionService.- Author:
- Oliver Drotbohm
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T extends org.springframework.core.convert.support.ConfigurableConversionService>
TregisterConverters(T service) Registers the followingConverterinstances in the givenConversionService:PrimitivesToIdentifierConverterIdentifierToPrimitivesConverterPrimitivesToAssociationConverterAssociationToPrimitivesConverter
-
Constructor Details
-
JMoleculesConverterConfigUtils
public JMoleculesConverterConfigUtils()
-
-
Method Details
-
registerConverters
public static <T extends org.springframework.core.convert.support.ConfigurableConversionService> T registerConverters(T service) Registers the followingConverterinstances in the givenConversionService:- Type Parameters:
T- the concreteConfigurableConversionServicesubtype- Parameters:
service- must not be null.- Returns:
-