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.
  • 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 interface org.springframework.boot.env.EnvironmentPostProcessor
    • getOrder

      public int getOrder()
      Specified by:
      getOrder in interface org.springframework.core.Ordered