Skip to content

Runtime View

iks github user edited this page Jul 14, 2014 · 8 revisions

[Back to arc42 overview] (https://github.com/iks-github/MOGLiCodeCreator/wiki/Architectural-Documentation)


When a user starts MOGLiCC, the following methods are executed in the following order:

core: Searches and loads all plugins from file system (from directory 'applicationRootDir7lib/plugins'). If not deactivated by configuration, each plugin in executed by calling 'doYourJob'. Finally, reports are collected and the report files written.

ModelProvider: Reads model from its input directory. Generators that know the plugin ID of the ModelProvider can access this model.

Generator: Each generator reads its templates anr retrieves the model from the ModelProvider. With both, the VelocityGenerators calls the VelocityEngine to start and retrieve the generated code. Finally, it writes the generation output into files.

VelocityEngineProvider: Creates and configurates the velocity engine, feeds it the model and the templates and returns the generation result.

See also [Solutions Ideas and Strategy] (https://github.com/iks-github/MOGLiCodeCreator/wiki/Solution%2C-Ideas-and-Strategy) and the [Building Block View] (https://github.com/iks-github/MOGLiCodeCreator/wiki/Building-Block-View).


[Back to arc42 overview] (https://github.com/iks-github/MOGLiCodeCreator/wiki/Architectural-Documentation)

Clone this wiki locally