一个连接点是:一个在程序流程中定义明确的点。3连接点有很多类型,正如一个方法的调用或一个方法的返回,都可以是一个正常的返回或者抛出一个异常。
A join point is "a well-defined point in the program flow." 3 There are many types of join points, such as a method call or a method return, which can be either a normal return or a thrown exception.
嵌套在这个故障处理程序中的活动试图纠正这种状况,以使正常处理可在作用域外继续或使用其它方法来完成流程。
The activity nested within this fault handler tries to correct the situation such that regular processing can continue outside the scope or alternate ways to complete the process can be taken.
pointcut基本上只是一个中断应用程序执行的(由源代码定义的)“正常”流程并做一些不同的事情的地方。
A pointcut is basically just a place to interrupt the "normal" (as defined by the source code) flow of your application's execution and do something different.
应用推荐