Class DotenvApplicationRunListener

  • All Implemented Interfaces:
    org.springframework.boot.SpringApplicationRunListener

    @Order(-2147483648)
    public class DotenvApplicationRunListener
    extends java.lang.Object
    implements org.springframework.boot.SpringApplicationRunListener
    • Constructor Summary

      Constructors 
      Constructor Description
      DotenvApplicationRunListener​(org.springframework.boot.SpringApplication application, java.lang.String[] args)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void environmentPrepared​(org.springframework.boot.ConfigurableBootstrapContext bootstrapContext, org.springframework.core.env.ConfigurableEnvironment environment)
      Add the DotenvPropertySource to the application's environment.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.springframework.boot.SpringApplicationRunListener

        contextLoaded, contextPrepared, failed, ready, running, started, started, starting
    • Constructor Detail

      • DotenvApplicationRunListener

        public DotenvApplicationRunListener​(org.springframework.boot.SpringApplication application,
                                            java.lang.String[] args)
    • Method Detail

      • environmentPrepared

        public void environmentPrepared​(org.springframework.boot.ConfigurableBootstrapContext bootstrapContext,
                                        org.springframework.core.env.ConfigurableEnvironment environment)
        Add the DotenvPropertySource to the application's environment.
        Specified by:
        environmentPrepared in interface org.springframework.boot.SpringApplicationRunListener
        Parameters:
        bootstrapContext - the bootstrap context
        environment - the environment