code: protected void bindToSpringApplication(ConfigurableEnvironment environment) {
  		try {
  			Binder.get(environment).bind("spring.main", Bindable.ofInstance(this));
  		}
  		catch (Exception ex) {
  			throw new IllegalStateException("Cannot bind to SpringApplication", ex);
  		}
  	}
docs: Bind the environment to the {@link SpringApplication}.
  @param environment the environment to bind