ConfigApp

io.eezo.config.ConfigApp
See theConfigApp companion object
trait ConfigApp extends Dispatch

The configuration read every entry trait does before the application starts, and the config command. Users never name this trait: HttpApp and DbApp both extend it, so EezoApp, which stacks the two, holds it once, and help lists config once.

It lives here and not in Dispatch because core cannot see this module. It answers Nil ahead of Dispatch, because a refusal is an exit code the command returns and program returns none, and it leaves program alone, so the stacking refusal Dispatch.program relies on still holds.

The entry object names nothing: the build names the class, the plugin writes the object that holds it, and Config.Root.generated finds that object. A build that names no class reads nothing and starts as it did before this trait existed.

Attributes

Companion
object
Source
ConfigApp.scala
Graph
Supertypes
trait Dispatch
class Object
trait Matchable
class Any
Known subtypes
trait DbApp
trait EezoApp
trait HttpApp
trait LiveApp

Members list

Value members

Inherited methods

final def main(args: Array[String]): Unit

Attributes

Inherited from:
Dispatch
Source
Dispatch.scala