Description
cemo koc opened SPR-12622 and commented
This issue is a complementary issue to #16245.
It seems that preliminary implementation of Annotation-based Event Listeners is sharing a great amount of code with Cache part of Spring. In our projects we had to duplicated necessary parts as Stéphane Nicoll has done.
My use cases:
-
My first use case was about
@Audit
. We wanted to track necessary actions in some controllers for audit trailing. It can access parameters, request, response etc... as in done Cache annotations. -
My second use case was relatively simple to first one. We wanted to declaratively to track some product views, clicks etc... We created another annotation,
@Track
. It was also creating a context to access context parameters.
I would be glad to if necessary changes will be provided by means of #16245.
Affects: 4.1.4
Issue Links:
- ApplicationListener-like annotation for consuming application events [SPR-11622] #16245 ApplicationListener-like annotation for consuming application events
Referenced from: commits c7b324b