Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for JSR-107 caching annotations [SPR-9616] #14250

Closed
spring-projects-issues opened this issue Jul 22, 2012 · 3 comments
Closed

Support for JSR-107 caching annotations [SPR-9616] #14250

spring-projects-issues opened this issue Jul 22, 2012 · 3 comments
Assignees
Labels
in: core Issues in core modules (aop, beans, core, context, expression) type: enhancement A general enhancement
Milestone

Comments

@spring-projects-issues
Copy link
Collaborator

spring-projects-issues commented Jul 22, 2012

Edwin Stang opened SPR-9616 and commented

Background

Support for JCache (JSR-107) was added to Spring in conjunction with #13417.

Status Quo

Right now, I am successfully using JCache with the Spring cache annotations (org.springframework.cache.annotation.*) with AspectJ.

Goals

To be more specification conform, I would like to switch to the JCache annotations (javax.cache.annotation.*), but AnnotationCacheAspect in the spring-aspects module does not support this.

Would it be possible to have this included in Spring 3.2?


Affects: 3.2 M2

Issue Links:

0 votes, 5 watchers

@spring-projects-issues
Copy link
Collaborator Author

Juergen Hoeller commented

Hi Edwin,

We'll be providing full JCache support in the next generation of Spring in 2013, once the JSR-107 specification has been finalized. At this point it's not yet clear how stable the design of those standardized caching annotations in JCache 0.5 is, so we're waiting for the final specification before doing a larger investment there.

Hope that helps,

Juergen

@spring-projects-issues
Copy link
Collaborator Author

Stéphane Nicoll commented

The JSR-107 annotations support is almost done now and is available from the jsr-107 branch. There is still one outstanding issue with AspectJ and the exception management that JSR-107 provides. Working on it...

@spring-projects-issues
Copy link
Collaborator Author

Stéphane Nicoll commented

I flag this one as complete as the last outstanding AspectJ issue has just been fixed. Documentation update will follow shortly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: core Issues in core modules (aop, beans, core, context, expression) type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

2 participants