PostConstruct « Bean « Spring Q&A





1. Spring IoC - Ensuring all beans are created before @PostConstruct/afterProperiesSet    stackoverflow.com

I've got a project using Spring IoC for dependency injection, and I'm trying to slightly simplify my model by having one central location for accessing most of my beans. I'm running ...

2. @PostConstruct not executed when bean in other @Scope than "singleton"    forum.springsource.org

Hello, I have the following issue. Does anyone has a clue what is going wrong? Code: @Component @Scope( "myCustomScope" ) public class Foo { static { System.err.println("## Static initializer ###"); } ...