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()
Static service locator which was initialized.
|
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 propertiesStream)
Initialize service locator using provided dsl-project.properties stream.
|
static ServiceLocator |
init(java.util.Properties properties)
Initialize service locator using provided Properties configuration.
|
static ServiceLocator |
init(java.util.Properties properties,
java.util.Map<java.lang.Class<?>,java.lang.Object> initialComponents)
Initialize service locator using provided Properties configuration
and components specified in initialComponents param.
|
static ServiceLocator |
init(java.lang.String propertiesPath)
Initialize service locator using provided dsl-project.properties 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.util.Properties properties, java.util.Map<java.lang.Class<?>,java.lang.Object> initialComponents) throws java.io.IOException
properties - project settingsinitialComponents - components to initialize withjava.io.IOException - in case of failure to read streampublic static ServiceLocator init(java.util.Properties properties) throws java.io.IOException
properties - project settingsjava.io.IOException - in case of failure to read streampublic static ServiceLocator init(java.io.InputStream propertiesStream) throws java.io.IOException
propertiesStream - stream for dsl-project.propertiesjava.io.IOException - in case of failure to read streampublic static ServiceLocator init(java.lang.String propertiesPath) throws java.io.IOException
propertiesPath - path to dsl-project.propertiesjava.io.IOException - in case of failure to read dsl-project.propertiespublic static java.lang.String getVersion()
public static java.lang.String getReleaseDate()
public static void main(java.lang.String[] args)
args - ignored