Java Code Examples for org.springframework.data.convert.EntityInstantiators

The following examples show how to use org.springframework.data.convert.EntityInstantiators. These examples are extracted from open source projects. 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 Project: spring-data   Source File: DefaultArangoConverter.java    License: Apache License 2.0 5 votes vote down vote up
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
ConverterAwareMappingSpannerEntityReader(SpannerMappingContext spannerMappingContext,
		SpannerReadConverter spannerReadConverter) {
	this.spannerMappingContext = spannerMappingContext;

	this.instantiators = new EntityInstantiators();

	this.converter = spannerReadConverter;
}
 
Example 3
Source Project: spring-data-crate   Source File: AbstractCrateConverter.java    License: Apache License 2.0 5 votes vote down vote up
protected AbstractCrateConverter(GenericConversionService conversionService) {
	super();
	this.conversionService = conversionService == null ? new DefaultConversionService() 
													   : conversionService;
	this.instantiators = new EntityInstantiators();
	this.conversions = new CustomConversions();
}
 
Example 4
Source Project: spring-vault   Source File: AbstractVaultConverter.java    License: Apache License 2.0 2 votes vote down vote up
/**
 * Registers {@link EntityInstantiators} to customize entity instantiation.
 * @param instantiators
 */
public void setInstantiators(EntityInstantiators instantiators) {
	this.instantiators = instantiators;
}
 
Example 5
Source Project: spring-data-crate   Source File: AbstractCrateConverter.java    License: Apache License 2.0 2 votes vote down vote up
/**
 * Registers {@link EntityInstantiators} to customize entity instantiation.
 * 
 * @param instantiators
 */
public void setInstantiators(EntityInstantiators instantiators) {
	this.instantiators = instantiators;
}