Bean will destroy now.而使用context.close()则提供了
Feb 03, 2017 11:53:57 AM org.springframework.context.support.ClassPathXmlApplicationContextorg.springframework.context.support.ClassPathXmlApplicationContext@799f7e29: startup date [Fri Feb 03 11:53:57 IST 2017]; root of context hierarch