You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by jqzone <jq...@gmail.com> on 2012/09/11 05:03:15 UTC
tapestry-service-cache with tapestry 5.3.*
I want to use tapestry-service-cache (
https://github.com/ciaranw/tapestry-service-cache ) ,but it has a bug
with tapestry 5.3.*
In tapestry 5.3.* ,ServiceResources. getImplementationClass(), just return
null;
but in class
com.ciaranwood.tapestry.cache.services.advice.CacheMethodDecoratorImpl ,is
there a replacement of this or another way to use?
souce code
in com.ciaranwood.tapestry.cache.services.advice.CacheMethodDecoratorImpl
public <T> T build(Class<T> serviceInterface, T delegate, ServiceResources
resources) {
String serviceId = resources.getServiceId();
Logger log = resources.getLogger();
Class<T> implementation = resources.getImplementationClass();
if(implementation == null) {
return delegate;
}