-
Jan 14th, 2011, 10:19 AM
#1
Event publishing: ApplicationContext or ApplicationEventPublisherAware
Fairly new to Spring here..
My app has made heavy use of application events. I'm @Autowiring in my application context to the few classes that need to generate events. But now I'm seeing that I should have implemented ApplicationEventPublisherAware.
What are the benefits of going with one over the other?
This may be moot as I may move to publishing to a publish-subscribe-channel from spring-integration.
Thanks.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules