public class AccountingPersistenceConfiguration 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 |
protected String |
SERVICE_ENDPOINT_CATEGORY |
protected String |
SERVICE_ENDPOINT_NAME |
protected URI |
uri |
protected String |
username |
| Constructor and Description |
|---|
AccountingPersistenceConfiguration() |
AccountingPersistenceConfiguration(String persistenceClassName) |
AccountingPersistenceConfiguration(URI uri,
String username,
String password) |
| Modifier and Type | Method and Description |
|---|---|
String |
getPassword() |
String |
getProperty(String propertyKey) |
protected org.gcube.common.resources.gcore.ServiceEndpoint |
getServiceEndpoint(String persistenceClassName) |
URI |
getUri() |
String |
getUsername() |
protected void |
init() |
void |
setPassword(String password) |
void |
setUri(URI uri) |
void |
setUsername(String username) |
protected void |
setValues(org.gcube.common.resources.gcore.ServiceEndpoint serviceEndpoint) |
protected final String SERVICE_ENDPOINT_CATEGORY
protected final String SERVICE_ENDPOINT_NAME
protected static final String PERSISTENCE_CLASS_NAME
protected URI uri
protected String username
protected String password
public AccountingPersistenceConfiguration()
public AccountingPersistenceConfiguration(URI uri, String username, String password)
protected void init()
public URI getUri()
public void setUri(URI uri)
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
Exceptionprotected org.gcube.common.resources.gcore.ServiceEndpoint getServiceEndpoint(String persistenceClassName)
Copyright © 2015. All Rights Reserved.