public interface ServerEnvironment
Modifier and Type | Method and Description |
---|---|
SpecialistsBroker |
getBroker()
Provides access to a specialists broker.
|
FileSystem<? extends FileHandle> |
getConfDir()
Returns the configuration directory of this environment.
|
Connection |
getConnection()
Returns the connection.
|
FileSystem<? extends FileHandle> |
getDataDir()
Returns the data directory of this environment.
|
String |
getInstalledVersion()
Returns the installed version of the component.
|
FileSystem<? extends FileHandle> |
getLogDir()
Returns the FileSystem as access to the log directory of this environment.
|
ComponentDescriptor.Scope |
getScope()
Returns the scope, one of
ComponentDescriptor.Scope.SERVER ,
ComponentDescriptor.Scope.PROJECT , and
ComponentDescriptor.Scope.WEB . |
@NotNull FileSystem<? extends FileHandle> getConfDir()
@Nullable FileSystem<? extends FileHandle> getDataDir()
@Nullable FileSystem<? extends FileHandle> getLogDir()
Connection getConnection()
SpecialistsBroker getBroker()
ComponentDescriptor.Scope getScope()
ComponentDescriptor.Scope.SERVER
,
ComponentDescriptor.Scope.PROJECT
, and
ComponentDescriptor.Scope.WEB
.String getInstalledVersion()
Copyright © 2014 e-Spirit AG. All Rights Reserved. Build 5.0_BETA.500