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 argsURISyntaxException
IOException
org.drombler.commons.client.startup.main.MissingPropertyException
protected Path determineInstallDirPath(Path mainJarPath)
<install-dir>/bin/lib/<jar>
determineInstallDirPath
in class org.drombler.commons.client.startup.main.DromblerClientConfiguration
mainJarPath
- the path to the JAR file containing the main starterprotected Properties loadDefaultConfigProps() throws IOException
loadDefaultConfigProps
in class org.drombler.commons.client.startup.main.DromblerClientConfiguration
IOException
protected void resolveProperties(Properties configProps) throws IllegalArgumentException
resolveProperties
in class org.drombler.commons.client.startup.main.DromblerClientConfiguration
configProps
- the properties to resolveIllegalArgumentException
protected void copySystemProperties(Properties configProps)
copySystemProperties
in class org.drombler.commons.client.startup.main.DromblerClientConfiguration
configProps
- the source properties to copy toCopyright © 2012–2019 Drombler. All rights reserved.