net.ttddyy.dsproxy.proxy.SimpleResultSetProxyLogicFactory 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 SimpleResultSetProxyLogic}.
*
* @author Tadaya Tsuyukubo
* @since 1.4.3
*/
public class SimpleResultSetProxyLogicFactory implements ResultSetProxyLogicFactory {
@Override
public ResultSetProxyLogic create(ResultSet resultSet, ConnectionInfo connectionInfo, ProxyConfig proxyConfig) {
return new SimpleResultSetProxyLogic(resultSet, connectionInfo, proxyConfig);
}
}