Class VaultBindingsPropertiesProcessor
java.lang.Object
org.springframework.cloud.bindings.boot.VaultBindingsPropertiesProcessor
- All Implemented Interfaces:
EventListener,BindingsPropertiesProcessor,org.springframework.context.ApplicationListener<org.springframework.boot.context.event.ApplicationPreparedEvent>
public final class VaultBindingsPropertiesProcessor
extends Object
implements BindingsPropertiesProcessor, org.springframework.context.ApplicationListener<org.springframework.boot.context.event.ApplicationPreparedEvent>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonApplicationEvent(org.springframework.boot.context.event.ApplicationPreparedEvent event) voidprocess(org.springframework.core.env.Environment environment, Bindings bindings, Map<String, Object> properties) Transform the currently accumulatedBindings-related properties.
-
Field Details
-
TYPE
TheBindingtype that this processor is interested in: "vault".- See Also:
-
-
Constructor Details
-
VaultBindingsPropertiesProcessor
public VaultBindingsPropertiesProcessor()
-
-
Method Details
-
process
public void process(org.springframework.core.env.Environment environment, Bindings bindings, Map<String, Object> properties) Description copied from interface:BindingsPropertiesProcessorTransform the currently accumulatedBindings-related properties.- Specified by:
processin interfaceBindingsPropertiesProcessor- Parameters:
environment- theEnvironmentthat the processor is executing with.bindings- theBindingsexposed to the application.properties- the currently accumulated properties.
-
onApplicationEvent
public void onApplicationEvent(org.springframework.boot.context.event.ApplicationPreparedEvent event) - Specified by:
onApplicationEventin interfaceorg.springframework.context.ApplicationListener<org.springframework.boot.context.event.ApplicationPreparedEvent>
-