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:
java.lang.Cloneable

public final class AppSettings
extends Zone

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


Nested Class Summary
 class AppSettings.AppLocation
          The AppLocation class defines directories which contain application zones.
 
Method Summary
 java.util.List<AppSettings.AppLocation> 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, isValid, removeEncryptedNode
 
Methods inherited from class com.sibvisions.rad.server.config.UpToDateConfigFile
clone, getFile, getNode, getNodes, getProperties, getProperty, getProperty, isCloneNodes, isFile, isSaveImmediate, isStream, isUpdateEnabled, isValid, isVirtual, prepareIncludeNodes, reload, replacePlaceholder, replacePlaceholder, save, setCloneNodes, 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 java.lang.Exception
Loads the configuration from the filesystem.

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

getAppLocations

public java.util.List<AppSettings.AppLocation> getAppLocations()
Gets all configured application directories.

Returns:
the appliciation dir location


Copyright © 2009 SIB Visions GmbH. All Rights Reserved.