You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltaspike.apache.org by "Gerhard Petracek (JIRA)" <ji...@apache.org> on 2013/10/26 16:33:31 UTC

[jira] [Resolved] (DELTASPIKE-282) Extension for caching arbitrary method calls

     [ https://issues.apache.org/jira/browse/DELTASPIKE-282?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gerhard Petracek resolved DELTASPIKE-282.
-----------------------------------------

    Resolution: Won't Fix

JSR-107 specifies the cdi integration already -> you can use e.g. https://github.com/jsr107/RI

> Extension for caching arbitrary method calls
> --------------------------------------------
>
>                 Key: DELTASPIKE-282
>                 URL: https://issues.apache.org/jira/browse/DELTASPIKE-282
>             Project: DeltaSpike
>          Issue Type: New Feature
>            Reporter: Harald Wellmann
>
> Create a CDI equivalent of Spring's cache abstraction, see http://static.springsource.org/spring/docs/3.1.x/spring-framework-reference/htmlsingle/spring-framework-reference.html#cache.
> Basic idea: A @Cacheable interceptor stores the result of method invocations in a cache. Subsequent invocations of the same method with the same parameters take the result from the cache instead of invoking the target method.
> @Cacheable
> public ExpensiveResult calculate(String arg)



--
This message was sent by Atlassian JIRA
(v6.1#6144)