Packagepotomac.core
Classpublic class Launcher
InheritanceLauncher Inheritance Object

Launcher provides the main bootstrapping code for all Potomac applications. In a regular application, Launcher is called by the automatically generated PotomacInitializer class.

Sometimes its necessary to write alternative launching code for a Potomac application rather than relying on the normal autogenerated code (when running unit tests for example).

Developers who wish to run alternative code after the bootstrapping is complete (to run unit tests for example) should provide their own LaunchRunner class in the LauncherManifest provided to the launch method.



Public Methods
 MethodDefined By
  
launch(manifest:LauncherManifest):void
[static] Launches Potomac and initiates the bootstrapping process.
Launcher
Method Detail
launch()method
public static function launch(manifest:LauncherManifest):void

Launches Potomac and initiates the bootstrapping process.

Parameters

manifest:LauncherManifest — The manifest of launching options.