Spring Boot 2.0 Compatibility
Previously, the library utilized an API from Spring Boot that arrived in 2.1.0. Support for Spring Boot 2.0 compatibility was requested and we can trivially add that support even though Boot 2.0 is EOL. This change updates the use of the API to be Boot 2.0 compatible. Signed-off-by: Ben Hale <bhale@vmware.com>
This commit is contained in:
@@ -64,7 +64,7 @@ public final class BindingFlattenedEnvironmentPostProcessor implements Applicati
|
||||
|
||||
@Override
|
||||
public void onApplicationEvent(ApplicationPreparedEvent event) {
|
||||
this.log.switchTo(getClass());
|
||||
this.log.replayTo(getClass());
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -82,7 +82,7 @@ public final class BindingSpecificEnvironmentPostProcessor implements Applicatio
|
||||
|
||||
@Override
|
||||
public void onApplicationEvent(ApplicationPreparedEvent event) {
|
||||
LOG.switchTo(getClass());
|
||||
LOG.replayTo(getClass());
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -68,6 +68,6 @@ public final class SpringSecurityOAuth2BindingsPropertiesProcessor implements Bi
|
||||
|
||||
@Override
|
||||
public void onApplicationEvent(ApplicationPreparedEvent event) {
|
||||
LOG.switchTo(getClass());
|
||||
LOG.replayTo(getClass());
|
||||
}
|
||||
}
|
||||
|
||||
@@ -116,6 +116,6 @@ public final class VaultBindingsPropertiesProcessor implements BindingsPropertie
|
||||
|
||||
@Override
|
||||
public void onApplicationEvent(ApplicationPreparedEvent event) {
|
||||
LOG.switchTo(getClass());
|
||||
LOG.replayTo(getClass());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user