Package org.milyn.scribe.reflection

Examples of org.milyn.scribe.reflection.FlushMethod


  /* (non-Javadoc)
   * @see org.milyn.scribe.invoker.DAOInvoker#flush()
   */
  public void flush() {
    final FlushMethod method = daoRuntimeInfo.getFlushMethod();

    assertMethod(method, Flush.class);

    method.invoke(dao);
  }
View Full Code Here


  }


  public void test_getFlushMethod() {

    FlushMethod method = fullAnnotatedDaoRuntimeInfo.getFlushMethod();

    assertNotNull(method);

    method.invoke(fullAnnotatedDao);

    verify(fullAnnotatedDao).flushIt();

    assertNull(minimumAnnotatedDaoRuntimeInfo.getFlushMethod());
View Full Code Here

TOP

Related Classes of org.milyn.scribe.reflection.FlushMethod

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.