Class SmartExecutorPersistenceConfiguration

java.lang.Object
org.gcube.vremanagement.executor.persistence.SmartExecutorPersistenceConfiguration

public class SmartExecutorPersistenceConfiguration extends Object
Author:
Luca Frosini (ISTI - CNR)
  • Field Details

  • Constructor Details

    • SmartExecutorPersistenceConfiguration

      public SmartExecutorPersistenceConfiguration()
    • SmartExecutorPersistenceConfiguration

      public SmartExecutorPersistenceConfiguration(String url, String username, String password)
    • SmartExecutorPersistenceConfiguration

      public SmartExecutorPersistenceConfiguration(String persistenceClassName) throws Exception
      Throws:
      Exception
  • Method Details

    • init

      protected void init()
    • getURL

      public String getURL()
      Returns:
      the url
    • setURL

      public void setURL(String url)
      Parameters:
      url - the url to set
    • getUsername

      public String getUsername()
      Returns:
      the username
    • setUsername

      public void setUsername(String username)
      Parameters:
      username - the username to set
    • getPassword

      public String getPassword()
      Returns:
      the password
    • setPassword

      public void setPassword(String password)
      Parameters:
      password - the password to set
    • getProperty

      public String getProperty(String propertyKey) throws Exception
      Returns:
      the propertyMap
      Throws:
      Exception
    • getServiceEndpoint

      public org.gcube.common.resources.gcore.ServiceEndpoint getServiceEndpoint(String serviceEndpointCategory, String serviceEndpointName, String persistenceClassName)
    • setValues

      protected void setValues(org.gcube.common.resources.gcore.ServiceEndpoint serviceEndpoint, String persistenceClassName) throws Exception
      Throws:
      Exception