com.sibvisions.rad.server.config
Class ServerZone

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.ServerZone

public class ServerZone
extends Zone

The ServerZone class encapsulates the access to the server configuration.


Constructor Summary
ServerZone()
          Creates a new instance of ServerZone.
ServerZone(File pDirectory)
          Creates a new instance of Zone for a directory.
 
Method Summary
 
Methods inherited from class com.sibvisions.rad.server.config.Zone
getConfig, getDirectory, setUpdateEnabled, update
 
Methods inherited from class com.sibvisions.rad.server.config.UpToDateConfigFile
getContent, getFile, getNodes, getProperties, getProperty, getProperty, isValid, setContent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServerZone

public ServerZone()
           throws Exception
Creates a new instance of ServerZone. The server configuration will be used from the cached zone. The cache for all zones is the Configuration.

Throws:
Exception - if the server zone has errors

ServerZone

public ServerZone(File pDirectory)
           throws Exception
Creates a new instance of Zone for a directory.

Parameters:
pDirectory - the zone directory
Throws:
Exception - if the configuration for the zone is invalid


Copyright © 2009 SIB Visions GmbH. All Rights Reserved.