org.gcube.contentmanagement.timeseriesservice.impl.context
Class ServiceContext

java.lang.Object
  extended by GCUBEServiceContext
      extended by org.gcube.contentmanagement.timeseriesservice.impl.context.ServiceContext

public class ServiceContext
extends GCUBEServiceContext


Nested Class Summary
static class ServiceContext.TSMode
           
 
Method Summary
static ServiceContext getContext()
          Returns cached instance
 java.lang.String getDbdialectforhibernate()
           
 java.lang.String getDBPassword()
           
 java.lang.String getDBUserName()
           
 GISInformation getGisInfo()
           
 CategoryGuesser getGuesser()
           
 LexicalEngineConfiguration getPossibleValueRetrieverConfiguration()
           
 MapItemType[] getProperties()
           
 StatisticsGenerator getStatisticsGenerator()
           
 TSGeoToolsConfiguration getTsGeoToolsConfiguration()
           
 ServiceContext.TSMode getTsMode()
           
 VTIDataExtender getVtiDataExtender()
           
 void onInitialisation()
          
 void onShutdown()
           
 void parseAndSaveConfiguration(GCUBEGenericResource configurationResource, GCUBEScope scope)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getContext

public static ServiceContext getContext()
Returns cached instance


getTsMode

public ServiceContext.TSMode getTsMode()
Returns:
the tsMode

getProperties

public MapItemType[] getProperties()
Returns:
the propsPerScope

getVtiDataExtender

public VTIDataExtender getVtiDataExtender()
Returns:
the vtiDataExtender

onInitialisation

public void onInitialisation()


onShutdown

public void onShutdown()

getDBUserName

public java.lang.String getDBUserName()
Returns:

getDBPassword

public java.lang.String getDBPassword()
Returns:

getDbdialectforhibernate

public java.lang.String getDbdialectforhibernate()
Returns:

getGuesser

public CategoryGuesser getGuesser()
Returns:

getPossibleValueRetrieverConfiguration

public LexicalEngineConfiguration getPossibleValueRetrieverConfiguration()
Returns:
the possibleValueRetriever

getStatisticsGenerator

public StatisticsGenerator getStatisticsGenerator()
Returns:
the statisticsGenerator

getGisInfo

public GISInformation getGisInfo()
Returns:
the gisInfo

getTsGeoToolsConfiguration

public TSGeoToolsConfiguration getTsGeoToolsConfiguration()
Returns:
the tsGeoToolsConfiguration

parseAndSaveConfiguration

public void parseAndSaveConfiguration(GCUBEGenericResource configurationResource,
                                      GCUBEScope scope)
                               throws java.lang.Exception
Throws:
java.lang.Exception