Announcement Announcement Module
Collapse
No announcement yet.
Event publishing: ApplicationContext or ApplicationEventPublisherAware Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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.
Working...
X