public static void main(String[] args) {

		ApplicationContext ctx = new ClassPathXmlApplicationContext(
				"context/diContext.xml");

		DemoService b = ctx.getBean(DemoService.class);

		// AutoWiredでInjectionされたbeanが取得できてる。
		System.out.println(b.toString());
		System.out.println(b.comp.toString());

	}