Lazy « Context « Spring Q&A





1. Lazy-initialysing application context    forum.springsource.org

I'd like my ApplicationContext to lazily init my singleton beans at the ApplicationContext level. In fact, now it works by setting the lazy-init attribute to true for all my singleton beans ...

2. Turning off lazy initialization for the whole context    forum.springsource.org

By default singletons in the ApplicationContexts are eagerly initialized. you can change this behavior with the "default-lazy-init" attribute of the "beans" element. But concerning multiple context files I am not sure. ...

3. Lazy initialization caused by dual Spring contexts    forum.springsource.org

Lazy initialization caused by dual Spring contexts Hi, I'm creating a web application that uses Hibernate (3.3.1) and Spring (3.0M3) and annotations for transaction demarcation. Because I'm displaying the values of ...