Harald Wellmann created DELTASPIKE-282:
------------------------------------------

             Summary: 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to