org.bitrepository.service
Class ServiceSettingsProvider

java.lang.Object
  extended by org.bitrepository.common.settings.SettingsProvider
      extended by org.bitrepository.service.ServiceSettingsProvider

public class ServiceSettingsProvider
extends SettingsProvider


Constructor Summary
ServiceSettingsProvider(SettingsLoader settingsReader, ServiceType serviceType)
          Creates a SettingsProvider which will use the provided SettingsLoader for loading the settings.
 
Method Summary
protected  String getComponentID(ReferenceSettings referenceSettings)
           
 
Methods inherited from class org.bitrepository.common.settings.SettingsProvider
getSettings, reloadSettings
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceSettingsProvider

public ServiceSettingsProvider(SettingsLoader settingsReader,
                               ServiceType serviceType)
Creates a SettingsProvider which will use the provided SettingsLoader for loading the settings.

Parameters:
settingsReader - Use for loading the settings.
serviceType - Will be used to load a componentID for the service based on the type.
Method Detail

getComponentID

protected String getComponentID(ReferenceSettings referenceSettings)
Overrides:
getComponentID in class SettingsProvider


Copyright © 2010-2013 The State and University Library, The Royal Library and The State Archives, Denmark. All Rights Reserved.