ApplicationListener « Bean « Spring Q&A





1. Injecting a bean with @Autowired that implements ApplicationListener does not work?    stackoverflow.com

I have a service bean (annotated with @Service) which implements the ApplicationListener inteface for T type of event objects that extend the ApplicationEvent abstract Class. There is a pretty simple and ...

2. Hmm, ApplicationListener not called for anonymous beans    forum.springsource.org

I just found a funny, and am not sure if it is a bug or not. Basically, anonymous "nested" beans do not get onApplicationEvent called. If you pull the same bean ...

3. ApplicationListener interface makes beans eagerly instantiated ?    forum.springsource.org

ApplicationListener interface makes beans eagerly instantiated ? Hi, Does implementing ApplicationListener interface make your beans get instantiated at start-up even though they have lazy-init="true". I'v got a bean with the following ...