MutablePropertyValues propertyValues = new MutablePropertyValues();
propertyValues.addPropertyValue(propertySource
.getCacheKeyGeneratorProperty());
propertyValues.addPropertyValue(propertySource
.getCacheProviderFacadeProperty());
propertyValues.addPropertyValue(propertySource
.getCachingListenersProperty());
propertyValues.addPropertyValue(propertySource.getCachingModelsProperty());
RootBeanDefinition cachingInterceptor = new RootBeanDefinition(
MetadataCachingInterceptor.class, propertyValues);