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>
An implementation of BindingsPropertiesProcessor that detects Bindings of type: "vault".
  • Field Details

  • 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: BindingsPropertiesProcessor
      Transform the currently accumulated Bindings-related properties.
      Specified by:
      process in interface BindingsPropertiesProcessor
      Parameters:
      environment - the Environment that the processor is executing with.
      bindings - the Bindings exposed to the application.
      properties - the currently accumulated properties.
    • onApplicationEvent

      public void onApplicationEvent(org.springframework.boot.context.event.ApplicationPreparedEvent event)
      Specified by:
      onApplicationEvent in interface org.springframework.context.ApplicationListener<org.springframework.boot.context.event.ApplicationPreparedEvent>