net.sf.voruta
Interface Invocation
- public interface Invocation
used by interceptor to invoke implementation.
default interceptor is implemented this way:
public Object invoke(Method method, Object[] args, Invocation in,Properties properties) throws Throwable {
return in.invoke(method,args);
}
- Author:
- baliuka
invoke
public java.lang.Object invoke(java.lang.reflect.Method method,
java.lang.Object[] args)
throws java.lang.Throwable
- invokes implementation method and SQL query or update statement
- Parameters:
method
- method to invokeargs
- parameters- Returns:
- update count or value returned by handler
- Throws:
java.lang.Throwable
- rethrows exeptions
currentConnection
public java.lang.String currentConnection()
wasResultInCache
public boolean wasResultInCache()
flushedCache
public boolean flushedCache()
getProcedureDescriptor
public ProcedureDescriptor getProcedureDescriptor()
Copyright © 2003-2004 voruta. All Rights Reserved.