@Configuration @ConditionalOnProperty(value="broadleaf.modelmapper.cache.create.enabled") public class ModelMapperCacheGenerationConfiguration extends Object
ModelMapperSerializer.generateCacheResources(Class[])
. This
configuration is generally NOT included during normal application startup. Rather, it is
generally included during special tests designed to initiate a Spring lifecycle with entity
support and then generate the serialized instances.Constructor and Description |
---|
ModelMapperCacheGenerationConfiguration() |
Modifier and Type | Method and Description |
---|---|
static void |
init(org.springframework.core.env.Environment environment) |
static org.springframework.beans.factory.support.BeanDefinitionRegistryPostProcessor |
setupLtwBeanDefinitionRegistryPostProcessor(org.springframework.core.env.Environment environment) |
public ModelMapperCacheGenerationConfiguration()
public static void init(org.springframework.core.env.Environment environment)
@Bean @ConditionalOnMissingBean(name="setupLtwBeanDefinitionRegistryPostProcessor") public static org.springframework.beans.factory.support.BeanDefinitionRegistryPostProcessor setupLtwBeanDefinitionRegistryPostProcessor(org.springframework.core.env.Environment environment)
Copyright © 2021. All rights reserved.