public class SmartExecutorPersistenceConfiguration extends Object
| Modifier and Type | Field and Description |
|---|---|
protected String |
password |
protected static String |
PERSISTENCE_CLASS_NAME |
protected Map<String,org.gcube.common.resources.gcore.ServiceEndpoint.Property> |
propertyMap |
String |
SERVICE_ENDPOINT_CATEGORY |
String |
SERVICE_ENDPOINT_NAME |
protected static String |
TARGET_SCOPE |
protected String |
url |
protected String |
username |
| Constructor and Description |
|---|
SmartExecutorPersistenceConfiguration() |
SmartExecutorPersistenceConfiguration(String persistenceClassName) |
SmartExecutorPersistenceConfiguration(String url,
String username,
String password) |
| Modifier and Type | Method and Description |
|---|---|
String |
getPassword() |
String |
getProperty(String propertyKey) |
org.gcube.common.resources.gcore.ServiceEndpoint |
getServiceEndpoint(String serviceEndpointCategory,
String serviceEndpointName,
String persistenceClassName) |
String |
getURL() |
String |
getUsername() |
protected void |
init() |
void |
setPassword(String password) |
void |
setURL(String url) |
void |
setUsername(String username) |
protected void |
setValues(org.gcube.common.resources.gcore.ServiceEndpoint serviceEndpoint,
String persistenceClassName) |
public final String SERVICE_ENDPOINT_CATEGORY
public final String SERVICE_ENDPOINT_NAME
protected static final String PERSISTENCE_CLASS_NAME
protected static final String TARGET_SCOPE
protected String url
protected String username
protected String password
public SmartExecutorPersistenceConfiguration()
public SmartExecutorPersistenceConfiguration(String url, String username, String password)
protected void init()
public String getURL()
public void setURL(String url)
uri - the uri to setpublic String getUsername()
public void setUsername(String username)
username - the username to setpublic String getPassword()
public void setPassword(String password)
password - the password to setpublic String getProperty(String propertyKey) throws Exception
Exceptionpublic org.gcube.common.resources.gcore.ServiceEndpoint getServiceEndpoint(String serviceEndpointCategory, String serviceEndpointName, String persistenceClassName)
Copyright © 2017. All Rights Reserved.