public class WebAppConfig extends Object
| Constructor and Description |
|---|
WebAppConfig(String classPath,
String name)
Creates a new instance of WebAppConfig
|
| Modifier and Type | Method and Description |
|---|---|
String |
classPath()
Returns the classpath to the WebApp class.
|
HashMap<String,Object> |
config()
Returns the HashMap that holds the configuration-fields
|
String |
name()
returns the webApp name.
|
public WebAppConfig(String classPath, String name)
classPath - the classpath to the class that implements the interface WebAppname - the name of the webApp. Under this name the Webapp is callable. Example:
If the name is myApp, the Webapp is accessable over the URL http://my.host/myApppublic HashMap<String,Object> config()
public String name()
public String classPath()
Copyright © 2020 Software Atelier Kamber. All rights reserved.