quand est-ce un printemps bean instancié

ApplicationContext ctx = new ClassPathXmlApplicationContext(
    "com/springinaction/springidol/spring-idol.xml");
Performer performer = (Performer) ctx.getBean("duke");
performer.perform();

Ci-dessus, lorsque les haricots sont instanciés lorsque l'ApplicationContext est créé ou lorsque le getBean() est appelée?

InformationsquelleAutor java_geek | 2010-12-15