ApplicationListener « Core « Spring Q&A





1. Lazy ApplicationListener    stackoverflow.com

When I add ApplicationListener to a class, Spring instantiates the bean eagerly (probably to make sure that the bean gets all the events). In my case, I have a bean which listens ...

2. Howto create applicationlistener    forum.springsource.org

Hi to all!! (this is my first topic!) Sorry for my english, but I'm Italian. I want to create an applicationlistener to save one attribute in its namespace. My problem is: ...

3. Differences in init process applying ApplicationListener Interface to non-singleton    forum.springsource.org

Differences in init process applying ApplicationListener Interface to non-singleton Hi, I run into some trouble trying to use spring's event mechanism. I have a non-singleton bean, which belongs to a GUI ...

4. Strange behaviour GlazedList look and feel and ApplicationListener    forum.springsource.org

Dear all, I have a strange behaviour wiht GlazedList look and feel. The header look and feel column is different when my form class implement or not the ApplicationListener interface. When ...

5. ApplicationListener getting called twice    forum.springsource.org

hi, In my application, I have a listener class for capturing AuthenticationFailureBadCredentialsEvent that implements ApplicationListener. When I am running the application and giving wrong password for a user, the listener is ...

6. Editor (implements ApplicationListener) creation restults in ConcurrentModificationEx    forum.springsource.org

Editor (implements ApplicationListener) creation restults in ConcurrentModificationEx When I create the first editor, everything works fine. But creating the second restults in: Code: java.util.ConcurrentModificationException at java.util.LinkedHashMap$LinkedHashIterator.nextEntry(LinkedHashMap.java:373) at java.util.LinkedHashMap$KeyIterator.next(LinkedHashMap.java:384) at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:75) at ...

7. newbie: ApplicationListener never getting AbstractAuthenticationEvent?    forum.springsource.org

newbie: ApplicationListener never getting AbstractAuthenticationEvent? I've been trying to save a user's last login time by implementing ApplicationListener. My implementation is very much like the one in the following link. forum.springframework.org/archive/index.php/t-32095.html ...

8. How to register a Mocked ApplicationListener    forum.springsource.org

How to register a Mocked ApplicationListener Hi, I'm trying to unit test a service that sends ApplicationEvent. So I want to mock (with easyMock) an ApplicationListener. I test the MockFactory proposed ...

9. ApplicationListener and multiple events    forum.springsource.org

I have an implementation of ApplicationListener that listens for events that occur in my application Is there any way to listen only the events that launches my application? I don't want ...