Interface EnvironmentPostProcessor
- All Known Implementing Classes:
ConfigDataEnvironmentPostProcessor
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Allows for customization of plugin's
Environment
prior to the
spring context being refreshed.
EnvironmentPostProcessor implementations have to be registered in
META-INF/rarog.factories
, using the fully qualified name of this class as the
key. Implementations may implement the Ordered
interface or use an @Order
annotation
if they wish to be invoked in specific order.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
postProcessEnvironment
(org.springframework.core.env.ConfigurableEnvironment environment, org.springframework.core.io.ResourceLoader resourceLoader) Post-process the givenenvironment
.
-
Method Details
-
postProcessEnvironment
void postProcessEnvironment(org.springframework.core.env.ConfigurableEnvironment environment, org.springframework.core.io.ResourceLoader resourceLoader) Post-process the givenenvironment
.- Parameters:
environment
- the environment to post-processresourceLoader
- resource loader of plugin context
-