2011年06月14日 星期二 16:07
This is what I want to do : I write scala code as configuration file, with these kind of configuration files, I parse them and convert class or object definitions into runtime instances and use them directly, in this way, the configuration will be much easier, spring's xml files are similar to this, but with scala code as direct configuration, the idea is more consistent, I don't whether there has been any such solution?
http://www.quora.com/Is-There-a-way-to-parse-scala-code-and-then-convert-to-runtime-instances
Zeuux © 2024
京ICP备05028076号