Example usage for org.springframework.data.gemfire.mapping PdxReaderPropertyAccessor INSTANCE

List of usage examples for org.springframework.data.gemfire.mapping PdxReaderPropertyAccessor INSTANCE

Introduction

In this page you can find the example usage for org.springframework.data.gemfire.mapping PdxReaderPropertyAccessor INSTANCE.

Prototype

PdxReaderPropertyAccessor INSTANCE

To view the source code for org.springframework.data.gemfire.mapping PdxReaderPropertyAccessor INSTANCE.

Click Source Link

Usage

From source file:org.springframework.data.gemfire.mapping.MappingPdxSerializer.java

/**
 * Creates a new {@link MappingPdxSerializer} using the given
 * {@link GemfireMappingContext} and {@link ConversionService}.
 *
 * @param mappingContext must not be {@literal null}.
 * @param conversionService must not be {@literal null}.
 */// w  ww .jav  a 2 s.  c o  m
public MappingPdxSerializer(GemfireMappingContext mappingContext, ConversionService conversionService) {

    Assert.notNull(mappingContext);
    Assert.notNull(conversionService);

    this.mappingContext = mappingContext;
    this.conversionService = conversionService;
    this.instantiators = new EntityInstantiators();
    this.customSerializers = Collections.emptyMap();
    this.context = new SpELContext(PdxReaderPropertyAccessor.INSTANCE);
}