|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.deegree.commons.config.DeegreeWorkspace
public class DeegreeWorkspace
Encapsulates a directory for deegree configuration files (a deegree workspace) and provides access to the configured deegree resources.
Nested Class Summary | |
---|---|
static class |
DeegreeWorkspace.Actions
Please check back with the TMC when changing these, they're used as keys in i18n files (used for progress bars when initializing applications)! |
Method Summary | |
---|---|
void |
destroyAll()
Unloads all resources associated with this context, as well as ALL STATIC ones. |
CoverageBuilderManager |
getCoverageBuilderManager()
|
DeegreeWorkspace.Actions |
getCurrentAction()
|
static DeegreeWorkspace |
getInstance()
Returns the default workspace. |
static DeegreeWorkspace |
getInstance(java.lang.String workspaceName)
Returns the workspace with the given name. |
static DeegreeWorkspace |
getInstance(java.lang.String workspaceName,
java.io.File fallbackDir)
Returns the workspace with the given name (or the workspace for the given directory if the former does not exist). |
java.io.File |
getLocation()
|
java.lang.String |
getName()
Returns the name of the workspace. |
void |
initAll()
Initializes all managed configurations. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static DeegreeWorkspace getInstance()
null
public static DeegreeWorkspace getInstance(java.lang.String workspaceName)
workspaceName
- name of the workspace, can be null
(implies default workspace)
null
public static DeegreeWorkspace getInstance(java.lang.String workspaceName, java.io.File fallbackDir) throws java.io.IOException
workspaceName
- name of the workspace, can be null
(implies default workspace)fallbackDir
- directory to use as workspace if the named workspace does not exist
null
java.io.IOException
public java.lang.String getName()
null
public java.io.File getLocation()
null
public CoverageBuilderManager getCoverageBuilderManager()
public void initAll()
public DeegreeWorkspace.Actions getCurrentAction()
public void destroyAll()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |