spring-projects/spring-boot — pull request #934 by hekonsek (2014-05-22 17:31:46+00:00)
Title: Added ComponentScanningApplicationApplicationContextInitializer.

Hi,

In the environment where I deploy my microservices I often need to specify base package (containing application-level `@Components` and `@Configurations`) on the deployment level, via system properties. For example:

java -jar myapp.jar -Dspring.boot.basepackage=com.myapp

What about having `ComponentScanningApplicationContextInitializer` dedicated for this purpose?

Cheers.