This becomes unmanageable when I have to define multiple resources accessed by multiple beans.
这种情况下也难以定义由多个bean访问的多种资源。
To associate real values with the parameters found in Listing 8, I have to define them in testng's testng.xml file, as shown in Listing 9.
要将实际的值与清单8中的参数相关联,我必须在testng的testng . xml文件中定义它们,如清单9所示。
Next, I have to define a reduce function (shown in Listing 15), which takes all the correspondingly grouped documents and sums up the values.
下一步,我不得不定义reduce函数(如清单15所示),其采用了所有相应分组文档并汇总这些值。
应用推荐