Provide a configuration option to enable lazy initialization

Closes gh-15870
This commit is contained in:
Andy Wilkinson
2019-02-07 15:20:42 +00:00
parent 6519e85b5a
commit 3a4a431eaa
8 changed files with 180 additions and 16 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2012-2018 the original author or authors.
* Copyright 2012-2019 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -29,7 +29,7 @@ import static org.springframework.web.reactive.function.server.RouterFunctions.r
public class SampleWebFluxApplication {
public static void main(String[] args) {
SpringApplication.run(SampleWebFluxApplication.class);
SpringApplication.run(SampleWebFluxApplication.class, args);
}
@Bean