View Javadoc
1 /* 2 * Invokation.java 3 * 4 * Created on Ketvirtadienis, 2003, Balandžio 17, 22.11 5 */ 6 7 package net.sf.voruta; 8 9 /*** used by interceptor to invoke implementation. 10 * default interceptor is implemented this way: 11 * <pre> 12 * public Object invoke(Method method, Object[] args, Invocation in,Properties properties) throws Throwable { 13 * return in.invoke(method,args); 14 * } 15 * <pre> 16 * @author baliuka 17 */ 18 public interface Invocation { 19 20 /*** invokes implementation method and SQL query or update statement 21 * @param method method to invoke 22 * @param args parameters 23 * @throws Throwable rethrows exeptions 24 * @return update count or value returned by handler 25 */ 26 public Object invoke( java.lang.reflect.Method method, Object[] args) throws Throwable ; 27 28 public String currentConnection(); 29 30 public boolean wasResultInCache(); 31 32 public boolean flushedCache(); 33 34 35 public ProcedureDescriptor getProcedureDescriptor(); 36 37 }

This page was automatically generated by Maven