added following functionality from task:
Loading class constants from property file
Use factory bean to create one bean
Use initialization callback
Inject ApplicationContext into one bean