Package org.springframework.metadata

Examples of org.springframework.metadata.Attributes


    TransactionAttribute actual = atas.getTransactionAttribute(method, null);
    assertEquals(txAtt, actual);
  }

  public void testUnboundedCacheSizeGrowth() throws Exception {
    Attributes attributes = new CommonsAttributes();
    AttributesTransactionAttributeSource attributeSource = new AttributesTransactionAttributeSource(attributes);
    for (int i = 0; i < 100; i++) {
      PrototypeBean bean = new PrototypeBean();
      Method m = bean.getClass().getMethod("doNothing", new Class[0]);
      attributeSource.getTransactionAttribute(m, bean.getClass());
View Full Code Here

TOP

Related Classes of org.springframework.metadata.Attributes

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.