Class WebAppConfig

java.lang.Object
ch.software_atelier.simpleflex.conf.WebAppConfig

public class WebAppConfig extends Object
This Class configures a class that implements the WebApp-interface,
Author:
tk
  • Constructor Details

    • WebAppConfig

      public WebAppConfig(String classPath, String name)
      Creates a new instance of WebAppConfig
      Parameters:
      classPath - the classpath to the class that implements the interface WebApp
      name - 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/myApp
  • Method Details

    • config

      public HashMap<String,Object> config()
      Returns the HashMap that holds the configuration-fields
      Returns:
    • name

      public String name()
      returns the webApp name. Under this name the Webapp is callable. Example: If the name is myApp, the Webapp is accessable over the URL http://my.host/myApp
      Returns:
    • classPath

      public String classPath()
      Returns the classpath to the WebApp class.
      Returns: