public class ConnectionsManager extends Object
| Constructor and Description |
|---|
ConnectionsManager(String cachePath) |
| Modifier and Type | Method and Description |
|---|---|
List<Object> |
AquamapsQuery(String query) |
void |
AquamapsUpdate(String updateQuery) |
List<Object> |
GeoserverQuery(String query) |
void |
GeoserverUpdate(String updateQuery) |
org.gcube.contentmanagement.lexicalmatcher.analysis.core.EngineConfiguration |
getAquamapsConfiguration() |
org.hibernate.SessionFactory |
getAquamapsConnection() |
String |
getCachePath() |
org.gcube.contentmanagement.lexicalmatcher.analysis.core.EngineConfiguration |
getGeoServerConfiguration() |
org.hibernate.SessionFactory |
getGeoserverConnection() |
static String |
getTableName(String tableName) |
org.gcube.contentmanagement.lexicalmatcher.analysis.core.EngineConfiguration |
getTimeSeriesConfiguration() |
org.hibernate.SessionFactory |
getTimeSeriesConnection() |
void |
initAquamapsConnection(org.gcube.contentmanagement.lexicalmatcher.analysis.core.EngineConfiguration configuration) |
void |
initGeoserverConnection(org.gcube.contentmanagement.lexicalmatcher.analysis.core.EngineConfiguration configuration) |
void |
initTimeSeriesConnection(org.gcube.contentmanagement.lexicalmatcher.analysis.core.EngineConfiguration configuration) |
void |
setAquamapsConfiguration(org.gcube.contentmanagement.lexicalmatcher.analysis.core.EngineConfiguration aquamapsConfiguration) |
void |
setAquamapsConnection(org.hibernate.SessionFactory aquamapsConnection) |
void |
setCachePath(String cachePath) |
void |
setGeoServerConfiguration(org.gcube.contentmanagement.lexicalmatcher.analysis.core.EngineConfiguration geoServerConfiguration) |
void |
setGeoserverConnection(org.hibernate.SessionFactory geoserverConnection) |
void |
setTimeSeriesConfiguration(org.gcube.contentmanagement.lexicalmatcher.analysis.core.EngineConfiguration timeSeriesConfiguration) |
void |
shutdownAll() |
List<Object> |
TimeSeriesQuery(String query) |
void |
TimeSeriesUpdate(String updateQuery) |
public ConnectionsManager(String cachePath)
public org.hibernate.SessionFactory getTimeSeriesConnection()
public void setAquamapsConnection(org.hibernate.SessionFactory aquamapsConnection)
public org.hibernate.SessionFactory getAquamapsConnection()
public void setGeoserverConnection(org.hibernate.SessionFactory geoserverConnection)
public org.hibernate.SessionFactory getGeoserverConnection()
public void initTimeSeriesConnection(org.gcube.contentmanagement.lexicalmatcher.analysis.core.EngineConfiguration configuration)
throws Exception
Exceptionpublic void initAquamapsConnection(org.gcube.contentmanagement.lexicalmatcher.analysis.core.EngineConfiguration configuration)
throws Exception
Exceptionpublic void initGeoserverConnection(org.gcube.contentmanagement.lexicalmatcher.analysis.core.EngineConfiguration configuration)
throws Exception
Exceptionpublic void TimeSeriesUpdate(String updateQuery) throws Exception
Exceptionpublic List<Object> TimeSeriesQuery(String query) throws Exception
Exceptionpublic void setCachePath(String cachePath)
public String getCachePath()
public void setTimeSeriesConfiguration(org.gcube.contentmanagement.lexicalmatcher.analysis.core.EngineConfiguration timeSeriesConfiguration)
public org.gcube.contentmanagement.lexicalmatcher.analysis.core.EngineConfiguration getTimeSeriesConfiguration()
public void setAquamapsConfiguration(org.gcube.contentmanagement.lexicalmatcher.analysis.core.EngineConfiguration aquamapsConfiguration)
public org.gcube.contentmanagement.lexicalmatcher.analysis.core.EngineConfiguration getAquamapsConfiguration()
public void setGeoServerConfiguration(org.gcube.contentmanagement.lexicalmatcher.analysis.core.EngineConfiguration geoServerConfiguration)
public org.gcube.contentmanagement.lexicalmatcher.analysis.core.EngineConfiguration getGeoServerConfiguration()
public void shutdownAll()
Copyright © 2014. All Rights Reserved.