org.duracloud.appconfig.domain
Interface AppConfig

All Known Implementing Classes:
DurabossConfig, DuradminConfig, 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 String INIT_RESOURCE
           
 
Method Summary
 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.
 void load(Map<String,String> props)
          This method loads this classes configuration elements from the provided properties.
 

Field Detail

INIT_RESOURCE

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

load

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

Parameters:
props -

asXml

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

Returns:

getInitResource

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

Returns:


Copyright © 2009-2012 DuraSpace. All Rights Reserved.