Class SmartExecutorPersistenceConfiguration
java.lang.Object
org.gcube.vremanagement.executor.persistence.SmartExecutorPersistenceConfiguration
- Author:
- Luca Frosini (ISTI - CNR)
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSmartExecutorPersistenceConfiguration(String persistenceClassName) SmartExecutorPersistenceConfiguration(String url, String username, String password) -
Method Summary
Modifier and TypeMethodDescriptiongetProperty(String propertyKey) org.gcube.common.resources.gcore.ServiceEndpointgetServiceEndpoint(String serviceEndpointCategory, String serviceEndpointName, String persistenceClassName) getURL()protected voidinit()voidsetPassword(String password) voidvoidsetUsername(String username) protected voidsetValues(org.gcube.common.resources.gcore.ServiceEndpoint serviceEndpoint, String persistenceClassName)
-
Field Details
-
SERVICE_ENDPOINT_CATEGORY
- See Also:
-
SERVICE_ENDPOINT_NAME
- See Also:
-
PERSISTENCE_CLASS_NAME
- See Also:
-
TARGET_SCOPE
- See Also:
-
url
-
username
-
password
-
propertyMap
-
-
Constructor Details
-
SmartExecutorPersistenceConfiguration
public SmartExecutorPersistenceConfiguration() -
SmartExecutorPersistenceConfiguration
-
SmartExecutorPersistenceConfiguration
- Throws:
Exception
-
-
Method Details
-
init
protected void init() -
getURL
- Returns:
- the url
-
setURL
- Parameters:
url- the url to set
-
getUsername
- Returns:
- the username
-
setUsername
- Parameters:
username- the username to set
-
getPassword
- Returns:
- the password
-
setPassword
- Parameters:
password- the password to set
-
getProperty
- Returns:
- the propertyMap
- Throws:
Exception
-
getServiceEndpoint
-
setValues
protected void setValues(org.gcube.common.resources.gcore.ServiceEndpoint serviceEndpoint, String persistenceClassName) throws Exception - Throws:
Exception
-