Learning the usage of ApplicationContext and pre setting the member
variable in the configuration file.