Once you understand how the mechanism works, reading this code is much simpler than reading the corresponding code that USES additional classes.
理解了此机制的工作原理之后,阅读此代码要比阅读使用额外类的相应代码更加轻松。
2
The mechanism for converting Groovy scripts into beans involves reading the Groovy script, compiling it, and making it available as a bean in the Spring application context.
It is assumed that if you are reading this article, you are familiar with the Rational Performance Tester mechanism to add custom code and are looking for potential opportunities for improvement.