• The compiler takes each aspect and creates class files that contain the advice code.

    编译接受每一个方面建立包含通知代码文件

    youdao

  • But every class I ever taught to starts of getting it wrong in almost every aspect so don't be worried If you do.

    但是每个班里有人误解几乎每个方面所以如果误解了也不要担忧

    youdao

  • Ms. Glickman recently started a project in her 'Personal Wellness' class. The assignment: change one aspect of your daily health routine to reduce stress, and keep a journal of your progress.

    格利克曼最近开始参加的“个人健康课上项目任务是改变日常健康习惯方面减少压力记录进展

    youdao

  • You've already seen how the aspect delegates to another class to handle the actual text highlighting.

    我们已经看到了方面如何委派另一个类中处理实际文字突出显示

    youdao

  • This is similar to an abstract class where some of the code is left to the programmer to implement in a derived class -- or, in this case, a derived aspect.

    一个抽象一些编码留给编程人员,编程人员使用它导出的类中执行或者在一个导出的方面中执行。

    youdao

  • Groups of methods implementing a particular aspect of behavior can be gathered together in a mix-in that is added to any class that needs that behavior.

    实现一方面行为方法可以混合式中聚集在一起,混合式被添加任何需要此行为的中。

    youdao

  • Because code may be changed by an aspect, unit tests that run perfectly on a class may behave quite differently when the class is integrated into an AOP system.

    由于代码可以方面改变可以完美运行单元测试这个集成一个AOP系统可能会出现完全不同的运行状况。

    youdao

  • It is enough for him he says if each class shares in some aspect of the governing power.

    而言,只要每个阶级多少分享一些统治权力,即也足够

    youdao

  • In this example, I've used the Participant pattern-like collaboration with one annotator aspect per class.

    这个例子中,使用Participant模式类型的协作每个一个注释者方面

    youdao

  • Listing 9 shows the Customer class with an annotator aspect.

    清单9显示了带有注释者方面customer

    youdao

  • Similarly, a mock target is a class that imitates a legitimate advice target for some aspect you are attempting to test.

    与此类似,mock目标一个模仿测试一些方面合法建议目标的

    youdao

  • Similarly, the Account class in Listing 10 includes an annotator aspect.

    与此类似清单10中的Accoun t包括一个注释方面

    youdao

  • But if you picked a specific domain class (say the Customer class) and tested the error handling aspect against it, you would risk muddying the intent of your test.

    但是如果选择特定(比如customer类),测试了错误处理方面那么就会有模糊测试目的的可能性。

    youdao

  • An aspect can be targeted to apply to a specific package, class, or method. Using aspects in an application requires two things.

    可以方面应用特定信息包方法。

    youdao

  • You may be wondering why I've used an aspect for management rather than simply adding support directly into the PerfStatsImpl implementation class.

    可能想知道为什么方面进行管理不是直接支持添加PerfStatsImpl实现类中。

    youdao

  • By making your aspect general enough to affect a mock target inside a test class, you ensure that it's also easy for a real class to participate in the aspect's behavior.

    通过使方面足够一般化可以影响测试中的mock目标保证可以容易地真实参与方面行为

    youdao

  • The use of the Participant pattern with one aspect per class considers a class as a subsystem, though any logical division into a subsystem will do just fine.

    使用每个具有方面Participant模式, 将每个类视为子系统,而任何逻辑分为子系统可以得很好。

    youdao

  • The logic diagrammed in Figure 2 is common to all contracts, so you can develop a common abstract aspect that specifies it. Figure 3 shows a class and aspect diagram of the solution.

    2中的逻辑图对于所有契约都是相同所以可以开发一个指定公共抽象方面

    youdao

  • To do this the default fetching pattern in the Repository/DAO class is overridden by a different fetching pattern based on the specific use case as defined in the Aspect class.

    Aspect定义的那样,我们可以根据特定操作使用不同抓取机制来覆盖Repository/DAO类所定义的默认抓取模式

    youdao

  • To do this using AspectJ, you must compile your class and aspect code with the ajc compiler.

    使用AspectJ 完成这个操作,必须使用ajc编译器来编译Aspect代码

    youdao

  • The completions offered at the given location are therefore in the context of the Point class instead of that of the defining aspect.

    图示位置上,代码补全功能提供Point上下文中,而非所在aspect的上下文中。

    youdao

  • The one I present in this article only crosscuts one class, but the principles are the same. Listing 1 contains one implementation of the Highlighter aspect.

    本文中展示这个例子横切一个但是原理一样的。

    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

  • You've got two ways of implementing aspect handling using AspectWerkz: build-time class modification and run-time class modification.

    两种AspectWerkz实现aspect处理方法编译时修改运行时类修改。

    youdao

  • The Listing 2 configuration defines a single aspect, as implemented in the class com.sosnoski.aspectwerkz.TraceAspect.

    清单2配置定义了aspect类 com.sosnoski.aspectwerkz.TraceAspect 中所实现的。

    youdao

  • The network is a key aspect of virtualization and represents a first-class element of the virtualization set.

    网络虚拟化一个关键方面代表虚拟化设置一等元素

    youdao

  • This class is an implementation of an operation, and only the concrete operation can be made aspect-aware.

    这个一个操作实现,并且仅仅具体的操作可以创建

    youdao

  • The same sort of thing is happening in health care, another aspect of human capital: middle-class people lead healthier lives than the poor, go to the doctor more often and spend more per visit.

    医疗保健和人力资本也是如此中产阶级穷人健康,医生的更频率更多看一次看病的也更多。

    youdao

  • Technical aspect: World class producer, international behind-the-scenes team, UK's BBC recording from start to finish, all aspects of technical production reaching international standards.

    技术层面世界级制作人统筹,全国际化幕后班底,英国BBC全程录制全面国际技术接轨

    youdao

  • Technical aspect: World class producer, international behind-the-scenes team, UK's BBC recording from start to finish, all aspects of technical production reaching international standards.

    技术层面世界级制作人统筹,全国际化幕后班底,英国BBC全程录制全面国际技术接轨

    youdao

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

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

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