bartongroup / slivka

http://bartongroup.github.io/slivka/
Apache License 2.0
7 stars 3 forks source link

CommandFactory rework #23

Closed warownia1 closed 8 years ago

warownia1 commented 8 years ago

Command factory should not operate globally. On creating a new instance, load configuration file, validate it and spawn command for each configuration. Subsequent calls to Command factory will return already instantiated command. Lazy object creation may cause delayed exceptions during program operation!