public class SITDataStorePool extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
configFilePath |
protected it.prato.comune.utilita.logging.interfaces.LogInterface |
logger |
protected HashMap<String,org.geotools.data.DataStore> |
pool |
protected HashMap<String,String> |
poolDsCaseSensitive |
protected HashMap<String,String> |
poolDsFactory |
protected HashMap<String,String> |
poolDsHints |
protected HashMap<String,String> |
poolDsParam |
Constructor and Description |
---|
SITDataStorePool(String configFilePath,
it.prato.comune.utilita.logging.interfaces.LogInterface logger)
Costruttore della classe SITDataStorePool.
|
Modifier and Type | Method and Description |
---|---|
void |
disposeDataStores() |
protected org.geotools.data.DataStore |
getDataStore(ConfigBean configBean)
Restituisce il data store configurato che è stato richiesto in base all'operazione da svolgere.
|
String |
getPoolDsCaseSensitive(String dsPoolID) |
protected org.geotools.data.DataStore |
openDataStore(String szDataStoreParams,
String szDataStoreFactory,
boolean isConHints)
Imposta il data store sulla base dei parametri letti dalla configurazione.
|
protected void |
setParam(String id,
String dsParam,
String dsFactory,
String dsHints,
String dsCaseSensitive)
Consente l'impostazione dei parametri necessari.
|
protected it.prato.comune.utilita.logging.interfaces.LogInterface logger
protected String configFilePath
public SITDataStorePool(String configFilePath, it.prato.comune.utilita.logging.interfaces.LogInterface logger) throws IOException
configFilePath
- logger
- IOException
protected void setParam(String id, String dsParam, String dsFactory, String dsHints, String dsCaseSensitive)
id
- dsParam
- dsFactory
- dsHints
- dsCaseSensitive
- protected org.geotools.data.DataStore getDataStore(ConfigBean configBean) throws IOException, SITException
configBean
- IOException
SITException
protected org.geotools.data.DataStore openDataStore(String szDataStoreParams, String szDataStoreFactory, boolean isConHints) throws IOException, SITException
szDataStoreParams
- szDataStoreFactory
- isConHints
- IOException
SITException
public String getPoolDsCaseSensitive(String dsPoolID)
dsPoolID
- public void disposeDataStores()
Copyright © 2017 Comune di Prato. All rights reserved.