| net.sf.hajdbc.sql.InvocationStrategy
InvocationStrategy | public interface InvocationStrategy (Code) | | Defines a strategy for invoking an invoker.
author: Paul Ferraro< Parameters: D - > Type of the root object (e.g. driver, datasource)< Parameters: T - > Target object type of the invocation< Parameters: R - > Return type of this invocation |
Method Summary | |
R | invoke(SQLProxy<D, T> proxy, Invoker<D, T, R> invoker) Invoke the specified invoker against the specified proxy. |
invoke | R invoke(SQLProxy<D, T> proxy, Invoker<D, T, R> invoker) throws Exception(Code) | | Invoke the specified invoker against the specified proxy.
Parameters: proxy - a JDBC object proxy Parameters: invoker - an invoker a result throws: Exception - if the invocation fails |
|
|