org.duracloud.appconfig.domain
Interface AppConfig

All Known Implementing Classes:
DuradminConfig, DurareportConfig, DuraserviceConfig, DurastoreConfig, SecurityConfig

public interface AppConfig

This interface defines the contract of a configuration set used for initializing the duracloud applications: duradmin, durastore, duraservice.

Author:
Andrew Woods Date: Apr 20, 2010

Field Summary
static java.lang.String INIT_RESOURCE
           
 
Method Summary
 java.lang.String asXml()
          This method returns an XML serialization of the configuration.
 java.lang.String getInitResource()
          This method returns the URL path element of the application's initialization resource.
 void load(java.util.Map<java.lang.String,java.lang.String> props)
          This method loads this classes configuration elements from the provided properties.
 

Field Detail

INIT_RESOURCE

static final java.lang.String INIT_RESOURCE
See Also:
Constant Field Values
Method Detail

load

void load(java.util.Map<java.lang.String,java.lang.String> props)
This method loads this classes configuration elements from the provided properties.

Parameters:
props -

asXml

java.lang.String asXml()
This method returns an XML serialization of the configuration.

Returns:

getInitResource

java.lang.String getInitResource()
This method returns the URL path element of the application's initialization resource.

Returns:


Copyright © 2009-2011 DuraSpace. All Rights Reserved.