Package org.springmodules.cache.provider.oscache

Examples of org.springmodules.cache.provider.oscache.OsCacheFlushingModel


   * @see AbstractCacheModelParser#doParseFlushingModel(Element, boolean)
   */
  protected FlushingModel doParseFlushingModel(Element element,
      boolean flushBeforeMethodExecution) {
    String csvGroups = element.getAttribute("groups");
    OsCacheFlushingModel model = new OsCacheFlushingModel(csvGroups);
    model.setFlushBeforeMethodExecution(flushBeforeMethodExecution);
    return model;
  }
View Full Code Here


    Element element = new DomElementStub("flushing");
    element.setAttribute("groups", groups);

    FlushingModel actual = parser.doParseFlushingModel(element,
        flushBeforeMethodExecution);
    OsCacheFlushingModel expected = new OsCacheFlushingModel(groups);
    expected.setFlushBeforeMethodExecution(flushBeforeMethodExecution);

    assertEquals(expected, actual);
  }
View Full Code Here

TOP

Related Classes of org.springmodules.cache.provider.oscache.OsCacheFlushingModel

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.