• Precondition tests are handled by before advice, which is executed just before the corresponding method execution join point.

    前置条件测试before建议处理建议对应方法执行连接点之前执行

    youdao

  • The downside is loss of conciseness, as can be seen from the additional call to proceed with the original method invocation visible in Figure 4, which would not be necessary with a before advice.

    不好的一面损失简洁性一点可以需要进行额外的调用才能继续执行原来方法调用(如图4所示)看得出来,如果before进行通知,这一点就是不必要的。

    youdao

  • Listing 1 shows an example of an aspect class defining a pair of methods intended to be used as before-and-after advice on a method call.

    清单1显示了aspect例子它定义方法调用上,用作advice和后advice的两方法

    youdao

  • Listing 1 shows an example of an aspect class defining a pair of methods intended to be used as before-and-after advice on a method call.

    清单1显示了aspect例子它定义方法调用上,用作advice和后advice的两方法

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定