public class DromblerACPConfiguration
extends org.drombler.commons.client.startup.main.DromblerClientConfiguration
| Constructor and Description |
|---|
DromblerACPConfiguration(org.drombler.commons.client.startup.main.cli.CommandLineArgs commandLineArgs)
Creates a new instance of this class.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
copySystemProperties(Properties configProps)
Copies and sets some additional system properties to the provided config properties.
|
protected Path |
determineInstallDirPath(Path mainJarPath)
Determines the installation directory path of this application.
|
protected Properties |
loadDefaultConfigProps() |
protected void |
resolveProperties(Properties configProps)
Resolves properties with variables.
|
public DromblerACPConfiguration(org.drombler.commons.client.startup.main.cli.CommandLineArgs commandLineArgs)
throws URISyntaxException,
IOException,
org.drombler.commons.client.startup.main.MissingPropertyException
commandLineArgs - the command line argsURISyntaxExceptionIOExceptionorg.drombler.commons.client.startup.main.MissingPropertyExceptionprotected Path determineInstallDirPath(Path mainJarPath)
<install-dir>/bin/lib/<jar>determineInstallDirPath in class org.drombler.commons.client.startup.main.DromblerClientConfigurationmainJarPath - the path to the JAR file containing the main starterprotected Properties loadDefaultConfigProps() throws IOException
loadDefaultConfigProps in class org.drombler.commons.client.startup.main.DromblerClientConfigurationIOExceptionprotected void resolveProperties(Properties configProps) throws IllegalArgumentException
resolveProperties in class org.drombler.commons.client.startup.main.DromblerClientConfigurationconfigProps - the properties to resolveIllegalArgumentExceptionprotected void copySystemProperties(Properties configProps)
copySystemProperties in class org.drombler.commons.client.startup.main.DromblerClientConfigurationconfigProps - the source properties to copy toCopyright © 2012–2019 Drombler. All rights reserved.