Hi all, I am building a JSR-296 swing app ontop of a spring backend using remote services. The new BSAF has a pretty nice @Action/Task architecture. My basic question is;
I need, pretty much everywhere, to register as a listener for Task events but my objects are disparate. Meaning I have no easy way to get from the class I want to listen to the task event to register myself as a listener.
What is the suggested way to handle this?
I was toying with a Singleton EventQueue for my application but I do not feel warm and fuzzy about it. I am not sure why I don't feel warm and fuzzy but I don't. Maybe because it reminds me of the WM_* windows message system.
Thanks in advance
Brian
Spend like you don't need the money,
love like you've never been hurt and dance like nobody's watching!
I need, pretty much everywhere, to register as a listener for Task events but my objects are disparate. Meaning I have no easy way to get from the class I want to listen to the task event to register myself as a listener.
What is the suggested way to handle this?
I was toying with a Singleton EventQueue for my application but I do not feel warm and fuzzy about it. I am not sure why I don't feel warm and fuzzy but I don't. Maybe because it reminds me of the WM_* windows message system.
Thanks in advance
Brian
Spend like you don't need the money,
love like you've never been hurt and dance like nobody's watching!