org.springframework.data.convert.EntityInstantiators Java Examples
The following examples show how to use
org.springframework.data.convert.EntityInstantiators.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: DefaultArangoConverter.java From spring-data with Apache License 2.0 | 5 votes |
public DefaultArangoConverter( final MappingContext<? extends ArangoPersistentEntity<?>, ArangoPersistentProperty> context, final CustomConversions conversions, final ResolverFactory resolverFactory, final ArangoTypeMapper typeMapper) { this.context = context; this.conversions = conversions; this.resolverFactory = resolverFactory; this.typeMapper = typeMapper; conversionService = new DefaultConversionService(); conversions.registerConvertersIn(conversionService); instantiators = new EntityInstantiators(); }
Example #2
Source File: ConverterAwareMappingSpannerEntityReader.java From spring-cloud-gcp with Apache License 2.0 | 5 votes |
ConverterAwareMappingSpannerEntityReader(SpannerMappingContext spannerMappingContext, SpannerReadConverter spannerReadConverter) { this.spannerMappingContext = spannerMappingContext; this.instantiators = new EntityInstantiators(); this.converter = spannerReadConverter; }
Example #3
Source File: AbstractCrateConverter.java From spring-data-crate with Apache License 2.0 | 5 votes |
protected AbstractCrateConverter(GenericConversionService conversionService) { super(); this.conversionService = conversionService == null ? new DefaultConversionService() : conversionService; this.instantiators = new EntityInstantiators(); this.conversions = new CustomConversions(); }
Example #4
Source File: AbstractVaultConverter.java From spring-vault with Apache License 2.0 | 2 votes |
/** * Registers {@link EntityInstantiators} to customize entity instantiation. * @param instantiators */ public void setInstantiators(EntityInstantiators instantiators) { this.instantiators = instantiators; }
Example #5
Source File: AbstractCrateConverter.java From spring-data-crate with Apache License 2.0 | 2 votes |
/** * Registers {@link EntityInstantiators} to customize entity instantiation. * * @param instantiators */ public void setInstantiators(EntityInstantiators instantiators) { this.instantiators = instantiators; }