Package org.nutz.dao.cache.method

Examples of org.nutz.dao.cache.method.IDaoCacheMethodHandler.handler()


    CacheStrategy cacheStrategy=new CacheStrategy();
    cacheStrategy.setDao(dao);
    ObsArgClass msg=new ObsArgClass(method,args,cacheStrategy,cache);
    IDaoCacheMethodHandler daoHandler=DAO_METHOD_HANDLERS.get(method.getName());
    if(daoHandler!=null){
      return daoHandler.handler(msg);
    }
    return method.invoke(dao, args);
  }
 
  public Cache getCache() {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.