public class DurastoreConfig extends BaseConfig implements AppConfig
| Modifier and Type | Field and Description |
|---|---|
protected static String |
baseDirectoryKey |
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 |
resourceKey |
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.
|
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)
Directly sets storage provider accounts.
|
getPrefix, getSuffix, isSupported, loadpublic static final String QUALIFIER
protected static final String storageAccountKey
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 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 String getQualifier()
BaseConfiggetQualifier in class BaseConfigprotected void loadProperty(String key, String value)
BaseConfigloadProperty in class BaseConfigpublic Collection<StorageAccount> getStorageAccounts()
public void setStorageAccounts(Set<StorageAccount> storageAccts)
storageAccts - storage provider accounts to setpublic String asXml()
AppConfigpublic String getInitResource()
AppConfiggetInitResource in interface AppConfigCopyright © 2009-2013 DuraSpace. All Rights Reserved.