public class DurastoreConfig extends BaseConfig implements AppConfig
Modifier and Type | Field and Description |
---|---|
protected static String |
auditKey |
protected static String |
baseDirectoryKey |
protected static String |
bridgeHostKey |
protected static String |
bridgePassKey |
protected static String |
bridgePortKey |
protected static String |
bridgeUserKey |
protected static String |
hostKey |
protected static String |
idKey |
protected static String |
isPrimaryKey |
protected static String |
ownerIdKey |
protected static String |
passwordKey |
protected static String |
portKey |
protected static String |
providerTypeKey |
static String |
QUALIFIER |
protected static String |
queueKey |
protected static String |
resourceKey |
protected static String |
snapshotUserKey |
protected static String |
storageAccountKey |
protected static String |
storageClassKey |
protected static String |
usernameKey |
protected static String |
zoneKey |
INIT_RESOURCE
Constructor and Description |
---|
DurastoreConfig() |
Modifier and Type | Method and Description |
---|---|
String |
asXml()
This method returns an XML serialization of the configuration.
|
AuditConfig |
getAuditConfig() |
String |
getInitResource()
This method returns the URL path element of the application's
initialization resource.
|
protected String |
getQualifier()
This method provides the qualifier used to distinquish this config
object in a properties file.
|
Collection<StorageAccount> |
getStorageAccounts() |
protected void |
loadProperty(String key,
String value)
This method handles loading the given key/value into its proper,
application-specific field.
|
void |
setStorageAccounts(Set<StorageAccount> storageAccts) |
getPrefix, getSuffix, isSupported, load, loadDbConfig
public static final String QUALIFIER
protected static final String auditKey
protected static final String queueKey
protected static final String storageAccountKey
protected static final String ownerIdKey
protected static final String isPrimaryKey
protected static final String idKey
protected static final String providerTypeKey
protected static final String usernameKey
protected static final String passwordKey
protected static final String storageClassKey
protected static final String zoneKey
protected static final String portKey
protected static final String hostKey
protected static final String baseDirectoryKey
protected static final String resourceKey
protected static final String snapshotUserKey
protected static final String bridgeHostKey
protected static final String bridgePortKey
protected static final String bridgeUserKey
protected static final String bridgePassKey
protected String getQualifier()
BaseConfig
getQualifier
in class BaseConfig
protected void loadProperty(String key, String value)
BaseConfig
loadProperty
in class BaseConfig
public AuditConfig getAuditConfig()
public Collection<StorageAccount> getStorageAccounts()
public void setStorageAccounts(Set<StorageAccount> storageAccts)
public String asXml()
AppConfig
public String getInitResource()
AppConfig
getInitResource
in interface AppConfig
Copyright © 2009–2014 DuraSpace. All rights reserved.