Class EmbabelDefaultsEnvironmentPostProcessor

java.lang.Object
io.jmix.autoconfigure.dynmodelai.EmbabelDefaultsEnvironmentPostProcessor
All Implemented Interfaces:
org.springframework.boot.EnvironmentPostProcessor, org.springframework.core.Ordered

public class EmbabelDefaultsEnvironmentPostProcessor extends Object implements org.springframework.boot.EnvironmentPostProcessor, org.springframework.core.Ordered
Keeps the logging and the banner of the application that includes the agent. The Embabel platform sets logging.config to its console-only configuration before the application properties are loaded, and its banner.txt replaces the default banner of Spring Boot.
  • Constructor Details

    • EmbabelDefaultsEnvironmentPostProcessor

      public EmbabelDefaultsEnvironmentPostProcessor()
  • 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.EnvironmentPostProcessor
    • getOrder

      public int getOrder()
      After the application properties are loaded, so that a logging.config of the application stays.
      Specified by:
      getOrder in interface org.springframework.core.Ordered