Package loxia.support.cache.annotation

Examples of loxia.support.cache.annotation.CacheParam


    Map<String, Object> params = new LinkedHashMap<String, Object>();
    Annotation[][] paramAnnos = m.getParameterAnnotations();
    for (int i = 0; i < paramAnnos.length; i++){
      for (int j = 0; j < paramAnnos[i].length; j++){
        if (paramAnnos[i][j] != null && paramAnnos[i][j] instanceof CacheParam){
          CacheParam cp = (CacheParam) paramAnnos[i][j];
          params.put((cp.ignore() ? "I" : "M") + cp.value(), args[i]);
          break;
        }
      }
    }
    return params;
View Full Code Here

TOP

Related Classes of loxia.support.cache.annotation.CacheParam

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.