Package org.springmodules.cache.provider.jboss

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


    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

Related Classes of org.springmodules.cache.provider.jboss.JbossCacheFlushingModel

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.