org.springframework.boot.context.event

Class ApplicationEnvironmentPreparedEvent

    • Constructor Detail

      • ApplicationEnvironmentPreparedEvent

        public ApplicationEnvironmentPreparedEvent(SpringApplication application,
                                                   String[] args,
                                                   org.springframework.core.env.ConfigurableEnvironment environment)
        Parameters:
        application - the current application
        args - the arguments the application is running with
        environment - the environment that was just created
    • Method Detail

      • getEnvironment

        public org.springframework.core.env.ConfigurableEnvironment getEnvironment()
        Return the environment.
        Returns:
        the environment

Copyright © 2015 Pivotal Software, Inc.. All rights reserved.