Examples of JbossCacheFlushingModel


Examples of org.springmodules.cache.provider.jboss.JbossCacheFlushingModel

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

Examples of org.springmodules.cache.provider.jboss.JbossCacheFlushingModel

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

    FlushingModel actual = parser.doParseFlushingModel(element,
        flushBeforeMethodExecution);
    JbossCacheFlushingModel expected = new JbossCacheFlushingModel(nodes);
    expected.setFlushBeforeMethodExecution(flushBeforeMethodExecution);

    assertEquals(expected, actual);
  }
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.