As explained in earlier examples, the key to the script lies in the definition file, defs. xml, which tells XJConf how to map elements from the configuration file into a PHP array. 如前面的例子所说明的那样,脚本的关键在于定义文件defs.xml,它告诉XJConf如何将配置文件中的元素映射到PHP数组。
In this case, the script was named BusinessObjects. groovy, so the code not contained in a class definition was then compiled into a.class file named BusinessObjects. 在这个例子中,脚本被命名为BusinessObjects.groovy,所以,类定义中没有包含的代码被编译到一个名为BusinessObjects的.class文件。