Package org.beangle.security.web.access.log

Examples of org.beangle.security.web.access.log.CachedResourceAccessor


  /**
   * 访问记录
   */
  public String accesslogs() {
    CachedResourceAccessor ra = (CachedResourceAccessor) ActionContext.getContext()
        .getApplication().get("ResourceAccessor");
    List<Accesslog> accessLogs = null;
    if (null == ra) {
      accessLogs = Collections.emptyList();
    } else {
      accessLogs = CollectUtils.newArrayList(ra.getAccessLogs());
    }
    String orderBy = get("orderBy");
    if (StringUtils.isEmpty(orderBy)) {
      orderBy = "duration desc";
    }
View Full Code Here

TOP

Related Classes of org.beangle.security.web.access.log.CachedResourceAccessor

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.