在同一个包中更多的注解定义了通知方法。
Further annotations in the same package define advice methods.
礼物的通知方法是通过给别人发个人短信。
Notification of the gift is send to a person's mobile phone along with a personalized text message.
每一个通知方法都带一个整型的id参数。
图2显示了输入、应用程序逻辑、通知方法或输出之间的简单视图。
Figure 2 shows a simplistic view of the relationship between inputs, application logic, and notification methods or outputs.
一个类似的异常和通知方法适合于管理操作遵从性(比如说满足规则)。
A similar exception and notification approach works for managing operational compliance (such as to meet regulations).
与其他错误通知方法(如返回代码)相比,异常具有若干优点。
Exceptions offer several advantages over other methods of error notification, such as return codes.
它还能通过在通知方法中移除所需的保护代码,显著地减少所需代码的数量。
It can also significantly reduce the amount of code required, by removing the need for guard code in advice methods.
境况按照预先定义的间隔对条件进行评估,并调用相应的自动响应和通知方法。
The situation evaluates the conditions at predefined intervals and invokes the appropriate automated responses and notification methods.
在Spring的精神中,它去掉了一个API,无意间却也使单元测试通知方法更简单。
In the spirit of Spring, it removes an API, incidentally it making it easy to unit test the advice method.
而且,需要提供一个InvocationContext对象使得单元测试通知方法困难得多。
Also, the need to provide an InvocationContext object makes it much harder to unit test advice methods.
LotusDomino 7.0提供了三种新的功能强大的通知方法来改进服务器监视和时间处理。
Lotus Domino 7.0 gives you three powerful new notification methods to enhance server monitoring and event handling.
AspectJ拥有把被通知方法的异常“软化”的能力,这很有用,但是不符合方法异常检测的标准语义。
AspectJ's ability to "soften" exceptions for advised methods can be useful, and does not adhere to the standard method exception-checking semantics.
如果你调用一个通知方法,使用当前在用通知的id并且传递一组新的通知参数,则该通知将被更新。
If you call one of the notify methods with an id that is currently active and a new set of notification parameters, it will be updated.
这个切面类包含和BirthdayCardSender类相同的通知方法体,但使用or g .aspectj . lang . annotation .aspect注解来把它识别为一个切面。
The aspect class contains the same advice method body as the BirthdayCardSender class, but is annotated with the org.aspectj.lang.annotation.Aspect annotation to identify it as an aspect.
因此,必须重写此方法以处理通知方案,如果通知的实例版本是方案的一部分,则应该提供它。
Therefore, you must override this method to handle notification scenarios and provide an instance version of the notification if that is part of your scenario.
因此,必须重写此方法以处理通知方案,如果通知的实例版本是方案的一部分,则应该提供它。
Therefore, you must override this method to handle notification scenarios and provide an instance version of the notification if that is part of your scenario.
应用推荐