public static void main(String[] args) {
		ApplicationContext context = new ClassPathXmlApplicationContext(
				"applicationContext.xml");
		MessageManager messageManager = (MessageManager) context
				.getBean("messageManager");
		try {
			messageManager.display();
			Thread.sleep(1000);
			messageManager.display();
			Thread.sleep(1000);
		} catch (InterruptedException e) {
			log.error(e.getMessage(), e);
		}
	}