Skip to content

Provide reusable parts of Cache implementation for others [SPR-12622] #17223

Closed
@spring-projects-issues

Description

@spring-projects-issues

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:

  1. 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.

  2. 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:

Referenced from: commits c7b324b

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions