public class Bootstrap
extends java.lang.Object
locator
with services and
communication configuration, such as remote url and authentication.Constructor and Description |
---|
Bootstrap() |
Modifier and Type | Method and Description |
---|---|
static ServiceLocator |
getLocator()
Deprecated.
avoid calling static service locator
|
static java.lang.String |
getReleaseDate()
Get release date of this library.
|
static java.lang.String |
getVersion()
Get version info of this library.
|
static ServiceLocator |
init(java.io.InputStream iniStream)
Initialize service locator using provided dsl-project.props stream.
|
static ServiceLocator |
init(java.lang.String iniPath)
Initialize service locator using provided dsl-project.props path.
|
static void |
main(java.lang.String[] args)
This is a library and main should not be called.
|
public static ServiceLocator getLocator()
public static ServiceLocator init(java.io.InputStream iniStream) throws java.io.IOException
iniStream
- stream for dsl-project.propsjava.io.IOException
- in case of failure to read streampublic static ServiceLocator init(java.lang.String iniPath) throws java.io.IOException
iniPath
- path to dsl-project.propsjava.io.IOException
- in case of failure to read dsl-project.propspublic static java.lang.String getVersion()
public static java.lang.String getReleaseDate()
public static void main(java.lang.String[] args)
args
- ignored