Package io.jmix.autoconfigure.dynmodelai
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.-
Field Summary
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetOrder()After the application properties are loaded, so that alogging.configof the application stays.voidpostProcessEnvironment(org.springframework.core.env.ConfigurableEnvironment environment, org.springframework.boot.SpringApplication application)
-
Constructor Details
-
EmbabelDefaultsEnvironmentPostProcessor
public EmbabelDefaultsEnvironmentPostProcessor()
-
-
Method Details
-
postProcessEnvironment
public void postProcessEnvironment(org.springframework.core.env.ConfigurableEnvironment environment, org.springframework.boot.SpringApplication application) - Specified by:
postProcessEnvironmentin interfaceorg.springframework.boot.EnvironmentPostProcessor
-
getOrder
public int getOrder()After the application properties are loaded, so that alogging.configof the application stays.- Specified by:
getOrderin interfaceorg.springframework.core.Ordered
-