Example usage for org.springframework.beans BeanWrapperImpl getConversionService

List of usage examples for org.springframework.beans BeanWrapperImpl getConversionService

Introduction

In this page you can find the example usage for org.springframework.beans BeanWrapperImpl getConversionService.

Prototype

@Nullable
public ConversionService getConversionService() 

Source Link

Document

Return the associated ConversionService, if any.

Usage

From source file:org.springframework.beans.BeanWrapperImpl.java

/**
 * Create new BeanWrapperImpl for the given object,
 * registering a nested path that the object is in.
 * @param object object wrapped by this BeanWrapper
 * @param nestedPath the nested path of the object
 * @param superBw the containing BeanWrapper (must not be {@code null})
 *//*ww w .  j  a  v  a2 s  . c  o  m*/
private BeanWrapperImpl(Object object, String nestedPath, BeanWrapperImpl superBw) {
    setWrappedInstance(object, nestedPath, superBw.getWrappedInstance());
    setExtractOldValueForEditor(superBw.isExtractOldValueForEditor());
    setAutoGrowNestedPaths(superBw.isAutoGrowNestedPaths());
    setAutoGrowCollectionLimit(superBw.getAutoGrowCollectionLimit());
    setConversionService(superBw.getConversionService());
    setSecurityContext(superBw.acc);
}