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 static String |
SERVICE_ENDPOINT_CATEGORY |
protected static String |
SERVICE_ENDPOINT_NAME |
protected URI |
uri |
protected String |
username |
| Constructor and Description |
|---|
AccountingPersistenceConfiguration() |
AccountingPersistenceConfiguration(URI uri,
String username,
String password) |
| Modifier and Type | Method and Description |
|---|---|
protected static AccountingPersistenceConfiguration |
createPersistenceConfiguration(org.gcube.common.resources.gcore.ServiceEndpoint serviceEndpoint) |
String |
getPassword() |
static AccountingPersistenceConfiguration |
getPersistenceConfiguration(String persistenceClassName) |
String |
getProperty(String propertyKey) |
URI |
getUri() |
String |
getUsername() |
void |
setPassword(String password) |
void |
setUri(URI uri) |
void |
setUsername(String username) |
protected static final String SERVICE_ENDPOINT_CATEGORY
protected static final String SERVICE_ENDPOINT_NAME
protected static final String PERSISTENCE_CLASS_NAME
protected URI uri
protected String username
protected String password
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 static AccountingPersistenceConfiguration createPersistenceConfiguration(org.gcube.common.resources.gcore.ServiceEndpoint serviceEndpoint) throws Exception
Exceptionpublic static AccountingPersistenceConfiguration getPersistenceConfiguration(String persistenceClassName) throws Exception
scope - persistenceClassName - ExceptionCopyright © 2015. All Rights Reserved.