org.duracloud.appconfig.domain
Class DuradminConfig
java.lang.Object
org.duracloud.appconfig.domain.BaseConfig
org.duracloud.appconfig.domain.DuradminConfig
- All Implemented Interfaces:
- AppConfig
public class DuradminConfig
- extends BaseConfig
- implements AppConfig
This class holds the configuration elements for duradmin.
- 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
duraStoreHostKey
protected static final java.lang.String duraStoreHostKey
- See Also:
- Constant Field Values
duraStorePortKey
protected static final java.lang.String duraStorePortKey
- See Also:
- Constant Field Values
duraStoreContextKey
protected static final java.lang.String duraStoreContextKey
- See Also:
- Constant Field Values
duraServiceHostKey
protected static final java.lang.String duraServiceHostKey
- See Also:
- Constant Field Values
duraServicePortKey
protected static final java.lang.String duraServicePortKey
- See Also:
- Constant Field Values
duraServiceContextKey
protected static final java.lang.String duraServiceContextKey
- See Also:
- Constant Field Values
DuradminConfig
public DuradminConfig()
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:
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:
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
getDurastoreHost
public java.lang.String getDurastoreHost()
setDurastoreHost
public void setDurastoreHost(java.lang.String durastoreHost)
getDurastorePort
public java.lang.String getDurastorePort()
setDurastorePort
public void setDurastorePort(java.lang.String durastorePort)
getDurastoreContext
public java.lang.String getDurastoreContext()
setDurastoreContext
public void setDurastoreContext(java.lang.String durastoreContext)
getDuraserviceHost
public java.lang.String getDuraserviceHost()
setDuraserviceHost
public void setDuraserviceHost(java.lang.String duraserviceHost)
getDuraservicePort
public java.lang.String getDuraservicePort()
setDuraservicePort
public void setDuraservicePort(java.lang.String duraservicePort)
getDuraserviceContext
public java.lang.String getDuraserviceContext()
setDuraserviceContext
public void setDuraserviceContext(java.lang.String duraserviceContext)
Copyright © 2009-2010 DuraSpace. All Rights Reserved.