org.duracloud.appconfig.domain
Class DuraserviceConfig
java.lang.Object
org.duracloud.appconfig.domain.BaseConfig
org.duracloud.appconfig.domain.DuraserviceConfig
- All Implemented Interfaces:
- AppConfig
public class DuraserviceConfig
- extends BaseConfig
- implements AppConfig
This class holds the configuration elements for duraservice.
- Author:
- Andrew Woods
Date: Apr 20, 2010
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.duracloud.appconfig.domain.AppConfig |
load |
QUALIFIER
public static final java.lang.String QUALIFIER
- See Also:
- Constant Field Values
primaryInstanceKey
protected static final java.lang.String primaryInstanceKey
- See Also:
- Constant Field Values
userStoreKey
protected static final java.lang.String userStoreKey
- See Also:
- Constant Field Values
serviceStoreKey
protected static final java.lang.String serviceStoreKey
- See Also:
- Constant Field Values
serviceComputeKey
protected static final java.lang.String serviceComputeKey
- See Also:
- Constant Field Values
hostKey
protected static final java.lang.String hostKey
- See Also:
- Constant Field Values
portKey
protected static final java.lang.String portKey
- See Also:
- Constant Field Values
contextKey
protected static final java.lang.String contextKey
- See Also:
- Constant Field Values
servicesAdminPortKey
protected static final java.lang.String servicesAdminPortKey
- See Also:
- Constant Field Values
servicesAdminContextKey
protected static final java.lang.String servicesAdminContextKey
- See Also:
- Constant Field Values
msgBrokerUrlKey
protected static final java.lang.String msgBrokerUrlKey
- See Also:
- Constant Field Values
spaceIdKey
protected static final java.lang.String spaceIdKey
- See Also:
- Constant Field Values
typeKey
protected static final java.lang.String typeKey
- See Also:
- Constant Field Values
imageIdKey
protected static final java.lang.String imageIdKey
- See Also:
- Constant Field Values
usernameKey
protected static final java.lang.String usernameKey
- See Also:
- Constant Field Values
passwordKey
protected static final java.lang.String passwordKey
- See Also:
- Constant Field Values
DuraserviceConfig
public DuraserviceConfig()
getQualifier
protected java.lang.String getQualifier()
- Description copied from class:
BaseConfig
- This method provides the qualifier used to distinquish this config
object in a properties file.
- Specified by:
getQualifier
in class BaseConfig
- Returns:
asXml
public java.lang.String asXml()
- Description copied from interface:
AppConfig
- This method returns an XML serialization of the configuration.
- Specified by:
asXml
in interface AppConfig
- Returns:
getInitResource
public java.lang.String getInitResource()
- Description copied from interface:
AppConfig
- This method returns the URL path element of the application's
initialization resource.
- Specified by:
getInitResource
in interface AppConfig
- Returns:
loadProperty
protected void loadProperty(java.lang.String key,
java.lang.String value)
- Description copied from class:
BaseConfig
- This method handles loading the given key/value into its proper,
application-specific field.
- Specified by:
loadProperty
in class BaseConfig
getPrimaryInstance
public DuraserviceConfig.PrimaryInstance getPrimaryInstance()
getUserStore
public DuraserviceConfig.UserStore getUserStore()
getServiceStore
public DuraserviceConfig.ServiceStore getServiceStore()
getServiceCompute
public DuraserviceConfig.ServiceCompute getServiceCompute()
Copyright © 2009-2010 DuraSpace. All Rights Reserved.