You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Core framework interceptors essentially require the same infrastructure but does not share a lot of code.
For instance, some interceptors are qualified-based (i.e. a qualifier can be set in the annotation to customize the "handler") which brings the need for a smart cache and proper handling for AspectJ (that should clean that cache appropriately since the aspect is basically a singleton for the classloader).
This issue is a general overhaul of that infrastructure that could span other issues along the way depending of the outcome of the initial investigation.
Things to investigate:
Some interceptor uses a qualifier on the annotation. Instead of retrieving the service every time (determineXyz) we should cache it. Transaction support has a good support now.
ReflectionUtils#doWithMethods can return the same method several times if it's overridden. If the parent method also has the annotation we may register a proxy or a handler several times for the same bean instance! Check ReflectionUtils.getUniqueDeclaredMethods instead
Activity
spring-projects-issues commentedon Feb 16, 2015
Stéphane Nicoll commented
Busy describing our current support, see https://gist.github.com/snicoll/8a517c060ee072889e63
spring-projects-issues commentedon Jan 12, 2019
Bulk closing outdated, unresolved issues. Please, reopen if still relevant.