net.ttddyy.dsproxy.proxy.ResultSetProxyLogicFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of datasource-proxy Show documentation
Show all versions of datasource-proxy Show documentation
Provide a datasource proxy that can inject your own logic into all queries.
package net.ttddyy.dsproxy.proxy;
import net.ttddyy.dsproxy.ConnectionInfo;
import java.sql.ResultSet;
/**
* Factory to create {@link ResultSetProxyLogic}.
*
* @author Tadaya Tsuyukubo
* @since 1.4.3
*/
public interface ResultSetProxyLogicFactory {
ResultSetProxyLogicFactory DEFAULT = new SimpleResultSetProxyLogicFactory();
ResultSetProxyLogic create(ResultSet resultSet, ConnectionInfo connectionInfo, ProxyConfig proxyConfig);
}