定义我要用来收集方法调用性能数据的截取程序,因为这个类将会被静态编入 EmpDAOImpl 类的字节码中。
The first step is to define the interceptor I want to use to collect the method-invocation performance data, because this class will be statically woven into the bytecode of the EmpDAOImpl class.
Gretel使用用于静态方法的调用来跟踪执行的块,将这些调用添加到字节码中的必要地方。
Gretel USES calls to a static method to track executed blocks, adding these into the bytecode only where needed.
应用推荐