com.sibvisions.rad.server.config
Class AppSettings

java.lang.Object
  extended by com.sibvisions.rad.server.config.UpToDateConfigFile
      extended by com.sibvisions.rad.server.config.Zone
          extended by com.sibvisions.rad.server.config.AppSettings
All Implemented Interfaces:
Cloneable

public final class AppSettings
extends Zone

The AppSetting class encapsulates the access to app settings. The settings configure application locations.


Method Summary
 List<String> getAppLocations()
          Gets all configured application directories.
 void update()
          Loads the configuration from the filesystem.
 
Methods inherited from class com.sibvisions.rad.server.config.Zone
addEncryptedNode, createXmlWorker, getConfig, getDirectory, isValid, removeEncryptedNode
 
Methods inherited from class com.sibvisions.rad.server.config.UpToDateConfigFile
clone, getFile, getNode, getNodes, getProperties, getProperty, getProperty, isSaveImmediate, isUpdateEnabled, isValid, reload, save, setContent, setNode, setProperty, setSaveImmediate, setUpdateEnabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

update

public void update()
            throws Exception
Loads the configuration from the filesystem.

Overrides:
update in class UpToDateConfigFile
Throws:
Exception - if it is not possible to read the configuration from the filesystem or the xml content is not valid

getAppLocations

public List<String> getAppLocations()
Gets all configured application directories.

Returns:
the appliciation dir location


Copyright © 2009 SIB Visions GmbH. All Rights Reserved.