Avoids instantiating beans if not necessary, and allows user to provide Function as a @SpringBootApplication (for instance), or more generally as a source to the application context (as opposed to being component scanned).
Avoids instantiating beans if not necessary, and allows user to provide Function as a @SpringBootApplication (for instance), or more generally as a source to the application context (as opposed to being component scanned).