Sample code for creating Spring beans dynamically. This sample project is described in the blog post at http://scanningpages.wordpress.com/2017/07/28/spring-dynamic-beans