|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sibvisions.rad.server.config.Configuration
public final class Configuration
The Configuration enables the access to the server zone and
all available application zones.
The zones are organized in following directories:
<CONFIG-DIRECTORY>
|- apps (applications directory)
|- <application name> (application zone) (application directory - lowercase)
|- src (source files)
|- libs (additional libraries)
|- classes (compiled sources)
|- config.xml (application configuration file)
|- server (server zone) (server directory)
|- config.xml (server configuration file)
| Method Summary | |
|---|---|
static File |
getApplicationsDir()
Returns the directory with the applications. |
static ApplicationZone |
getApplicationZone(String sApplicationName)
Returns the current zone for an application. |
static File |
getClassesDir()
Returns the directory with the class files. |
static File |
getConfigurationDir()
Returns the directory with the configuration files. |
static File |
getServerDir()
Returns the server directory. |
static ServerZone |
getServerZone()
Returns the server zone. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static File getConfigurationDir()
public static File getApplicationsDir()
public static File getServerDir()
public static File getClassesDir()
public static ApplicationZone getApplicationZone(String sApplicationName)
throws Exception
sApplicationName - the desired application
Exception - if the application zone has errors
public static ServerZone getServerZone()
throws Exception
Exception - if the server zone has errors
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||