Class ModelMapperCacheEnvironmentPostProcessor
java.lang.Object
com.broadleafcommerce.data.tracking.core.mapping.cache.ModelMapperCacheEnvironmentPostProcessor
- All Implemented Interfaces:
org.springframework.boot.env.EnvironmentPostProcessor
,org.springframework.core.Ordered
public class ModelMapperCacheEnvironmentPostProcessor
extends Object
implements org.springframework.boot.env.EnvironmentPostProcessor, org.springframework.core.Ordered
Special environment processor for application runtime state suitable for generating ModelMapper
serialized instances via
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.-
Field Summary
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
getOrder()
void
postProcessEnvironment
(org.springframework.core.env.ConfigurableEnvironment environment, org.springframework.boot.SpringApplication application)
-
Constructor Details
-
ModelMapperCacheEnvironmentPostProcessor
public ModelMapperCacheEnvironmentPostProcessor()
-
-
Method Details
-
postProcessEnvironment
public void postProcessEnvironment(org.springframework.core.env.ConfigurableEnvironment environment, org.springframework.boot.SpringApplication application) - Specified by:
postProcessEnvironment
in interfaceorg.springframework.boot.env.EnvironmentPostProcessor
-
getOrder
public int getOrder()- Specified by:
getOrder
in interfaceorg.springframework.core.Ordered
-