File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -47844,6 +47844,17 @@ using the aspectj mode in this case.
4784447844
4784547845[[cache-annotation-stereotype]]
4784647846==== Using custom annotations
47847+
47848+ .Custom annotation and AspectJ
47849+ ****
47850+ This feature only works out-of-the-box with the proxy-based approach but can be enabled
47851+ with a bit of extra effort using AspectJ.
47852+
47853+ The `spring-aspects` module defines an aspect for the standard annotations only. If you
47854+ have defined your own annotations, you also need to define an aspect for those. Check
47855+ `AnnotationCacheAspect` for an example.
47856+ ****
47857+
4784747858The caching abstraction allows you to use your own annotations to identify what method
4784847859triggers cache population or eviction. This is quite handy as a template mechanism as it
4784947860eliminates the need to duplicate cache annotation declarations (especially useful if the
You can’t perform that action at this time.
0 commit comments