Package com.m4f.utils.cache.annotations

Examples of com.m4f.utils.cache.annotations.Cacheable


    // Getting the cacheName linked with this method
    String cacheName = "";
    Method method = null;
    try {
      method = this.getInterceptedMethod(pjp);
      Cacheable annotation = method.getAnnotation(Cacheable.class);
      cacheName = annotation != null ? annotation.cacheName() : "default";
    } catch(Exception e) {
      LOGGER.severe(StackTraceUtil.getStackTrace(e));
      cacheName = "default";
    } finally {
     
View Full Code Here

TOP

Related Classes of com.m4f.utils.cache.annotations.Cacheable

Copyright © 2018 www.massapicom. 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.