All Downloads are FREE. Search and download functionalities are using the official Maven repository.

edu.uiuc.ncsa.sas.loader.SQLClientStoreProvider Maven / Gradle / Ivy

There is a newer version: 5.4.3
Show newest version
package edu.uiuc.ncsa.sas.loader;

import edu.uiuc.ncsa.sas.client.ClientKeys;
import edu.uiuc.ncsa.sas.client.ClientProvider;
import edu.uiuc.ncsa.sas.client.ClientTable;
import edu.uiuc.ncsa.security.storage.data.MapConverter;
import edu.uiuc.ncsa.security.storage.sql.ConnectionPool;
import edu.uiuc.ncsa.security.storage.sql.ConnectionPoolProvider;
import edu.uiuc.ncsa.security.storage.sql.SQLStore;
import edu.uiuc.ncsa.security.storage.sql.SQLStoreProvider;
import edu.uiuc.ncsa.security.storage.sql.internals.Table;

/**
 * 

Created by Jeff Gaynor
* on 8/22/22 at 2:39 PM */ public class SQLClientStoreProvider extends SQLStoreProvider { public SQLClientStoreProvider() { } public SQLClientStoreProvider(ConnectionPoolProvider cpp, String type, MapConverter converter, ClientProvider clientProvider) { super(cpp, type, "clients", "clients", converter); this.clientProvider = clientProvider; } ClientProvider clientProvider; @Override public T newInstance(Table table) { return null; } /* public DSClientSQLStoreProvider(ConnectionPoolProvider cpp, String type, MapConverter converter, Provider clientProvider) { super(null, cpp, type, OA4MPConfigTags.CLIENTS_STORE, SQLClientStore.DEFAULT_TABLENAME, converter); this.clientProvider = clientProvider; } */ @Override public T get() { ClientTable clientTable = new ClientTable(new ClientKeys(), getSchema(), getPrefix(), getTablename()); return newInstance(clientTable); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy