网站首页  词典首页

请输入您要查询的英文单词:

 

单词 AspectJ
释义

AspectJ

  • 网络织入;的安装及使用;切入点表达式
1.
织入
织入weaving:将增强advice添加到目标类的具体连接点上的过程,有三种形式:编译器织入aspectJ),类装载期织入(aspec…
blog.csdn.net
2.
的安装及使用
精通Spring——深入Java EE开发核心技术 ... 5.16.11 PreDestroy 注解 6.2.1 AspectJ 的安装及使用 6.4.6 Introduction 引入 ...
dic.eqie.com
3.
切入点表达式
Spring Framework 2.5 开发参考手册... ... 6.4.2. Spring AOP 中使用 7.2.3. AspectJ 切入点表达式 7.3.2. Spring 里的通知类型 ...
ajava.org
4.
整合
Spring Recipes - newneoniu - XMind:... ... 5.3.3 增强器 Advisor 5.4.3 整合 AspectJ 6.1.2 第三方数据源实现, 如 DBCP ...
www.xmind.net
5.
实现
Allan - BlogJava ... AOP 具体实现 AspectJ 实现 AOP 术语 ...
www.blogjava.net

例句

释义:
1.
AspectJ feels natural, as if it fills in a gap in your programming knowledge rather than extending it in a new direction.
AspectJ给人的感觉是很自然,就好象它填补了您的编程知识缺陷而不是在一个新方向上的扩展。
www.ibm.com
2.
In AspectJ, an inter-type method declaration looks almost identical to a normal method declaration and is referred to in the same way.
在AspectJ中,类型间方法声明看起来就像正常的方法声明,引用的技术也一样。
www.ibm.com
3.
It is possible to use both AspectJ and Spring AOP simultaneously: they do not conflict.
同时使用AspectJ和SpringAOP是可能的:它们并不冲突。
www.infoq.com
4.
Note that this article addresses the implications of the recently announced merger of the AspectJ and AspectWerkz projects.
注意,本文将解释最近宣布的AspectJ和AspectWerkz项目合并的意义。
www-128.ibm.com
5.
Currently, AspectJ and AspectWerkz do not include any libraries, although some third-party libraries have been created using these tools.
目前,虽然已经用这些工具创建了一些第三方库,但AspectJ和AspectWerkz不包括任何库。
www-128.ibm.com
6.
Since AspectJ is an extension to the Java language syntax and semantics, it provides its own set of keywords for working with aspects.
由于AspectJ是Java语言语法和语义的扩展,所以它提供了自己的一套处理方面的关键字。
www-128.ibm.com
7.
Just as the class is the unit of modularity for Java, the aspect is an additional unit of modularity for AspectJ.
正如类是Java模块化的单元,方面是AspectJ模块化的附加单元。
www.ibm.com
8.
The AspectJ compiler is an extension of the JDT compiler, and is therefore fully capable of compiling Java code.
AspectJ编译器是JDT编译器的扩展,所以完全能够编译Java代码。
www.ibm.com
9.
At this time, the AspectJ compiler is the only commercial-quality AOP compiler, although other research-quality compilers exist.
目前,虽然还存在其他研究质量的编译器,但是AspectJ编译器是惟一达到商业质量的AOP编译器。
www.ibm.com
10.
One issue is the requirement that the AspectJ weaver be able to resolve references to third party classes contained in the jar being woven.
一个问题是要求AspectJ织入器能够解析对包含在被织入的jar中的第三方类的引用。
www-128.ibm.com
1.
Every legal Java program is a legal AspectJ program, so your code will compile just as it always has.
每个合法的Java程序都是合法的AspectJ程序,所以可以像以前那样编译代码。
www.ibm.com
2.
With the AspectJ compiler, you get all the benefits of static checking that you expect from Java code, but applied to aspect code.
有了AspectJ编译器,方面代码就可以得到Java代码从静态检查得到的全部好处。
www.ibm.com
3.
The power of the AspectJ pointcut expression language is not merely about allowing sophisticated constructs.
AspectJ切入点表达式语言的强大不仅仅是关于复杂的结构。
www.infoq.com
4.
This article assumes that you are generally familiar with AOP under AspectJ and is not intended as an introduction to AOP.
本文假定您对AspectJ中的AOP有一般性的了解,并且不准备介绍AOP。
www.ibm.com
5.
We've seen how AJDT shows the crosscutting nature of AspectJ by adding editor markers and decorating advised elements.
我们已经看到了AJDT如何通过增加编辑器标记和装饰advice元素来显示AspectJ的crosscutting特征。
www.infoq.com
6.
Based on Table 1, you can see that AspectJ, AspectWerkz, JBoss AOP, and Spring AOP are the leading tools in terms of user adoption.
根据表1,可以看出,从用户采用度的角度来说,AspectJ、AspectWerkz、JBossAOP和SpringAOP是领先的工具。
www.ibm.com
7.
Method at a join point in an around advice, AspectJ handles this situation for me without requiring any special effort.
方法,那么AspectJ会替我处理这种情况,不需要做任何特别的工作。
www-128.ibm.com
8.
AspectJ incurs compilation overhead in terms of memory usage and time, since it performs most advice planning at compile time.
AspectJ在编译时会带来开销,主要是内存和时间的使用,因为它是在编译时执行大部分通知。
www.ibm.com
9.
Take advantage of the @Profiled annotation and AspectJ's load-time weaving to decide which methods should be timed at deployment time.
利用@Profiled注解和AspectJ的加载时编织来决定哪些方法应该在部署时计时。
www.infoq.com
10.
In AspectJ, these points are called point cuts, and the code you execute at point cuts is called advice.
在AspectJ中,这些地方都称为pointcut,在pointcut处所执行的代码称为advice。
www.ibm.com
1.
The next piece of the aspect uses some of the new AspectJ 5 support for matching types based on annotations.
方面的下一部分使用了一些新的AspectJ5支持,以进行基于注释的类型匹配。
www-128.ibm.com
2.
Entries can be added to a project's inpath by right-clicking on the project, selecting Properties, then going to the AspectJ InPath section.
可以通过在项目上右击并选择Properties,然后进入AspectJInPath区域,将条目添加到项目的inpath中。
www.ibm.com
3.
AspectJ is an implementation of the aspect-oriented programming model on the Java platform (see Resources).
AspectJ是面向方面编程模型在Java平台上的一种实现(参见参考资料)。
www.ibm.com
4.
This allows AspectJ applications to be compiled by a regular Java 5 compiler, and then later woven by the AspectJ weaver.
这样,就可以通过普通的Java5编译器编译AspectJ应用程序,然后再由AspectJ编织器对其进行编织。
www.ibm.com
5.
Ramnivas is an active member of the AspectJ user community and has been involved with aspect-oriented programming from its early form.
Ramnivas是AspectJ用户社团的活跃成员,从面向方面编程的早期阶段就进入这个领域了。
www-128.ibm.com
6.
The Composite pattern can be implemented in AspectJ using inter-type declarations as shown above with configuration.
Composite模式在AspectJ中可使用内部类型声明实现,如上面关于配置的一节所述。
www.ibm.com
7.
The process is also reversible, with a context menu entry to remove the AspectJ nature and switch back to the Java compiler.
这个过程也是可逆的,也就是说,可以使用上下文菜单项来删除AspectJ性质并切换回Java编译器。
www.ibm.com
8.
In this final article in the AOP@Work series, I introduce you to Contract4J, an AspectJ-based tool that supports Design by Contract.
在AOP@Work系列的最后这篇文章中,我将介绍Contract4J,这是一个基于AspectJ的工具,支持契约式设计。
www.ibm.com
9.
While I ve used AspectJ to develop all the code for the example, implementations in other AOP systems are conceptually identical.
虽然我使用了AspectJ开发这个例子的所有代码,但是在其他AOP系统中的实现在概念上是相同的。
www-128.ibm.com
10.
This aspect is written in the Aspect language, so needs to be compiled by the AspectJ ajc compiler.
这个切面用Aspect语言编写,因此需要由AspectJajc编译器来编译。
www.infoq.com
1.
At this time, no UML viewer is compatible with AspectJ or any other AOP tool.
目前,还没有与AspectJ或其他AOP工具兼容的UML查看器。
www-128.ibm.com
2.
An important limitation to the current version of AspectJ is that its compiler can only weave aspects into code for which it has the source.
AspectJ当前版本的一个重要限制是其编译器只能将Aspect加入到它拥有源代码的代码中。
www.ibm.com
3.
Modify your build environment, as shown in Listing 3, to include required AspectJ properties.
修改构建环境,如清单3所示,以包含必要的AspectJ属性。
www-128.ibm.com
4.
Using visual tools: The two patterns described here leverage AspectJ's IDE support for Eclipse, also known as AJDT.
使用可视化工具:这里描述的两种模式利用了AspectJIDE对Eclipse的支持,也称为AJDT。
www.ibm.com
5.
The last three occur less often in practice for Spring users, and if they prove problematic, we recommend using AspectJ.
后面的三个缺点在Spring用户的正常使用中很少发生,如果它们证明是的确有问题的,我们建议使用AspectJ。
www.infoq.com
6.
As you saw earlier, markers in the AspectJ editor and Cross References view clearly show you the nature of crosscutting on a per-file basis.
正如前面看到的,AspectJ编辑器中的标记和CrossReferences视图清楚地在每个文件的基础上表现出了横切的特性。
www.ibm.com
7.
You want to use AspectJ's ability to declare warnings or errors to be flagged by the compiler.
你想要使用AspectJ的能力来声明由编译器标记的警告或者错误。
www.infoq.com
8.
An upcoming release will integrate with AspectJ to provide interoperability with fine-grained crosscutting mechanisms.
即将发行的版本将与AspectJ集成,提供与精细横切机制的互操作性。
www-128.ibm.com
9.
Note that at this time, AspectJ is the only tool that provides a static enforcement mechanism that employs pointcuts.
注意,目前AspectJ是惟一提供使用切入点的静态强制机制的工具。
www.ibm.com
10.
Create the AspectJ caching asset and discuss some of its customizable points.
创建AspectJ缓存资产并且讨论其中的用户定制部分。
www.ibm.com
1.
Aspect declarations in AspectJ parallel class declaration in the Java language, as shown in Figure 2.
Aspect中的方面声明类似于Java语言中的类声明,如图2所示。
www.ibm.com
2.
Whilst this overhead cannot be avoided completely, future releases of AJDT and the AspectJ compiler will focus on reducing it.
虽然这个负荷不能完全避免,但AJDT和AspectJ编译器的未来发行版会重点减少它。
www.ibm.com
3.
AspectJ is an extension of the Java language that lets you declare aspects entirely in code.
AspectJ是Java语言的扩展,用它可以完全在代码中对方面进行声明。
www-128.ibm.com
4.
AspectJ comes with an Ant task, dubbed iajc, that acts like javac; however, this process compiles and weaves aspects into subject code.
AspectJ引入了一个Ant任务,称为iajc,充当着javac的角色;此过程对方面进行编译并将其编入主体代码中。
www.ibm.com
5.
With static checking, AspectJ's compiler issues a warning noting that the type name or signature could not be resolved.
有了静态检查,AspectJ的编译器会发出警告,指出无法解析的类型名称或签名。
www.ibm.com
6.
Simply take a plug-in project and right-click to convert it to an AspectJ project in the same way you would a Java project.
只需采用一个插件项目,在该项目上右击,并用与处理Java项目相同的方式将它转换成AspectJ项目即可。
www.ibm.com
7.
The new programming model, leveraging AspectJ constructs, is built on top of the existing Spring AOP runtime.
新的编程模型,支持AspectJ结构,构建于已有的SpringAOP运行时之上。
www.infoq.com
8.
In AspectJ, lots of advice can run at a join point without knowing anything about other advice at the join point.
在AspectJ中,大量通知可以在一个连接点上运行,而无需知道该连接点上的其他通知。
www.ibm.com
9.
Orbitz uses a mix of direct ERMA instrumentation and AOP-style instrumentation using Spring and AspectJ based configuration.
通过利用基于Spring和AspectJ的配置,Orbitz使用了一个直接ERMA仪表和AOP风格仪表的混合体。
www.infoq.com
10.
An aspect is AspectJ's unit of modularity and has much in common with a class in the Java language.
方面是AspectJ的模块化单元,与Java语言中的类有许多共同之处。
www.ibm.com
1.
Contains reusable implementations of 12 of the Gang of Four patterns in AspectJ as well as in the Java language.
包含GangofFour的第12种模式在AspectJ以及Java语言中的可重用实现。
www-128.ibm.com
2.
The contract is a Java class that implements a specific interface, and the "bridge" is an AspectJ aspect.
契约是实现了特定接口的Java类,“桥梁”是AspectJ方面。
www.ibm.com
3.
I expect that the overhead will drop significantly with further tuning of the Glassbox Inspector and AspectJ load-time weaving.
我预计在调优GlassboxInspector和AspectJ装载时织入后,开销会显著降低。
www-128.ibm.com
4.
Note that the planned @AspectJ syntax will look very similar to the AspectWerkz annotation syntax.
请注意,规划的@AspectJ语法看起来与AspectWerkz注释的语法非常相似。
www.ibm.com
5.
In order to incorporate our aspect into the system, we add the aspect source code to the project and build with the AspectJ compiler, ajc.
为了将我们的方面合并入系统,我们向项目中增加了方面的源代码,并且采用AspectJ编译器,ajc进行编译。
www.ibm.com
6.
Another run-time performance benefit results from static typing of join point parameters in AspectJ and AspectWerkz.
另外一个运行时的性能优势来自AspectJ和AspectWerkz中连接点参数的静态类型检查。
www.ibm.com
7.
The AspectJ compiler builds AspectJ and Java code declared in ". java" or ". aj" files, and produces plain Java bytecode.
AspectJ编译器对“.java”或“.aj”文件中声明的AspectJ和Java代码进行构建,并生成普通的Java字节码。
www.ibm.com
8.
What is so amazing about AspectJ is that an aspect can be applied to an entire application without a lot of effort.
关于AspectJ,有一件事情非常神奇,aspect不用很多努力就可以应用到整个应用程序中。
www.ibm.com
9.
In this case, I'll combine JMX with AspectJ, which enables me to write the management logic separately.
在这种情况下,我将把JMX与AspectJ结合,这个结合可以让我独立地编写管理逻辑。
www.ibm.com
10.
In this case, you can configure AspectJ to use Java 5 mode either as a workspace preference or on a per-project basis.
在这种情况下,可以对AspectJ进行配置,把Java5模式作为工作区选项配置使用,或者以每个项目为基础使用。
www-128.ibm.com
1.
Typical join points in AspectJ include method calls, access to class members, and the execution of exception handler blocks.
AspectJ中典型的joinpoint包括方法调用、对类成员的访问以及异常处理程序块的执行。
www.ibm.com
2.
The changes also provide AspectJ developers with greater access to tooling support on the Eclipse platform.
这一变化为AspectJ开发人员提供了对Eclipse平台上的工具支持的更多访问。
www.ibm.com
3.
Contains links to many AspectJ related articles, documentation, and downloads.
包含许多AspectJ相关文章、文档和下载的链接。
www-128.ibm.com
4.
I certainly have found them to be useful on my other AspectJ projects.
在我的其他AspectJ项目中发现它们显然是很有用的。
www-128.ibm.com
5.
This setting is controlled from the AspectJ Aspect Path property page and can contain either JAR files or directories.
这个设置由AspectJAspectPath属性页控制,可以包含JAR文件或目录。
www.ibm.com
6.
With @AspectJ syntax, framework-specific annotations are in the aspects, not business logic.
通过@AspectJ语法,特定于框架的注解存在于切面中,而不是业务逻辑中。
www.infoq.com
7.
This annotation-driven programming model was pioneered by AspectWerkz, which in early 2005 merged into the AspectJ project.
这种注解驱动的编程模型最先由AspectWerkz提出,在2005年早期它合并入AspectJ项目。
www.infoq.com
8.
Because AspectJ is not an option for some, we offer an alternative approach in this article.
因为AspectJ对于某些情况不是选项,所以我们在本文中提供了一个替代方法。
www-128.ibm.com
9.
Switch from your current Java compiler to the AspectJ "ajc" compiler, which also compiles Java code.
从当前Java编译器切换到AspectJ的“ajc”编译器,它也可以编译Java代码。
www.ibm.com
10.
Listing 5 shows an AspectJ source file used to enable logging on method entries and exits.
清单5给出了一个AspectJ源文件的例子,它用来对方法的入口和出口函数记录日志。
www.ibm.com
1.
Naturally, a single article cannot hope to cover all of the enhancements to a release as comprehensive as AspectJ 5.
当然,一篇文章不可能覆盖AspectJ5这样全面的发行版的全部增强。
www-128.ibm.com
2.
The AspectJ homepage: Browse the documentation, get the latest news and downloads or join the AspectJ community.
AspectJ主页:浏览文档,获得最新的消息,下载或者加入AspectJ团体的讨论中。
www.ibm.com
3.
Is a contract enforcement tool that combines AspectJ and Javadoc-style annotations.
是一个合同增强工具,它结合了AspectJ和Javadoc类型的注释。
www-128.ibm.com
4.
The similarity of AspectWerkz and AspectJ has allowed the two technologies to join forces.
AspectWerkz和AspectJ的相似性使得这两种技术可以联合。
www-128.ibm.com
5.
The pointcut expression language is the same as in AspectJ's own syntax, and the semantics are identical.
这种切入点表达语言和AspectJ自己的语法一样,而且语义相同。
www.infoq.com
6.
An output JAR setting is also present in the AspectJ section of each project's property page.
每个项目的属性页的AspectJ区域中还包含outputJAR设置。
www.ibm.com
7.
AJDT is implemented by a growing number of plug-ins that are AspectJ-enabled.
AJDT是由数量不断增长的启用AspectJ的插件实现的。
www.ibm.com
8.
AspectJ is perhaps the best known and most widely used AOP implementation.
AspectJ也许是已知最好的,并且应用最广泛的AOP实现。
www.ibm.com
9.
The upcoming version of AspectJ will support metadata by modifying the AspectJ language.
新的AspectJ版本将通过修改AspectJ语言支持元数据。
www-128.ibm.com
10.
AspectJ has a well thought out, rigorously defined and well documented pointcut language.
AspectJ有个思路很好,严格定义和充足文档的切入点语言。
www.infoq.com
1.
The AJDT project provides Eclipse Platform-based tool support for aspect-oriented software development with AspectJ.
AJDT项目为用AspectJ进行面向方面(aspect-oriented)的软件开发提供了基于EclipsePlatform的工具支持。
www.ibm.com
2.
This series of two tutorials describes in detail how to package AspectJ-based assets for use with Software Architect.
本系列的进行两篇教程详细地介绍了如何利用SoftwareArchitect将基于AspectJ的资产打包和使用。
www.ibm.com
3.
The com. ibm. aspectj. lib aspect library contribution to Aspects for MDD includes an abstract tracing aspect, JDK14Tracing.
lib方面库提供了一个包含抽象追踪方面的MDD方面,JDK14Tracing。
www.ibm.com
4.
The combined @AspectJ effort will filter many of AspectJ's tool support benefits into the AspectWerkz annotation style.
合并后的@AspectJ会把AspectJ工具支持的许多优点带到AspectWerkz的注释风格中。
www.ibm.com
5.
You can use any IDE or run it from command prompt using aspectj compiler to execute and test the attached source code.
你可以使用任何IDE或是使用aspectj编译器从命令行执行代码。
www.infoq.com
6.
Before you can create this bootstrap aspect, you'll have to download AspectJ.
在创建这个自引导程序方面前,要先下载AspectJ。
www.ibm.com
7.
The second layer is implemented using AspectJ and provides for orchestration and flow control of the process.
第二层是用AspectJ实现的,提供流程的编排及流控制。
www.infoq.com
8.
Similar mechanisms as AspectJ without the language extension.
与AspectJ类似的机制,没有语言扩展。
www.ibm.com
9.
AspectJ is nearly unique among AOP technologies in supporting encapsulation at this level.
AspectJ在AOP技术中差不多是惟一支持这一级别的封装的。
www.ibm.com
10.
An important tool provided with AspectJ is ajdoc, which generates Javadoc-style documentation for AspectJ programs.
随AspectJ提供的一个重要工具是ajdoc,它可以为AspectJ程序生成Javadoc风格的文档。
www.ibm.com
1.
Is a contract enforcement tool that combines AspectJ and the new Java metadata annotations.
是一个合同增强工具,它结合了AspectJ与新的Java元数据注释。
www-128.ibm.com
2.
Details are provided on the AspectJ home page and the Ant scripts that come with the distribution.
AspectJ的主页上提供了详细信息,发行版自带了Ant脚本。
www.ibm.com
3.
The challenge here is that this requires some knowledge of aspect technology and AspectJ syntax.
这里最大的困难是需要一些面向方面的知识并掌握一些AspectJ的语法。
www.ibm.com
4.
Fortunately, it is planned that the final release of AspectJ 5 will include a facility to generate these lists when compiling aspects.
幸运的是,AspectJ5的最终版本计划包含在编译方面时生成这些清单的工具。
www-128.ibm.com
5.
AspectJ home page: Learn more about using aspects for Design by Contract testing.
AspectJ主页:了解使用方面进行契约式设计测试的更多内容。
www.ibm.com
6.
AspectJ 5 will similarly support the @AspectJ syntax, which is a result of the merging of the AspectJ and AspectWerkz projects.
AspectJ5同样也将支持@AspectJ语法,这是AspectJ与AspectWerkz项目合并的结果。
www.ibm.com
7.
It's also worth noting that the AspectJ pointcut expression language offered in Spring 2. 0 has extremely powerful annotation matching.
同样值得注意的是,Spring2.0中提供的AspectJ切入点表达式语言有非常强大的注解匹配。
www.infoq.com
8.
Can AspectJ go one step further than selection to handle test configuration?
AspectJ能否更进一步出来测试,而不仅仅是选择处理测试配置呢?
www.ibm.com
9.
Aspect and pointcut declarations in AspectJ's code style will feel just like Java code.
用AspectJ的代码风格,方面和切入点声明感觉起来就像Java代码。
www.ibm.com
10.
The examples in this article use AspectJ, as it is the most widely known.
例如在这篇文章aspectj使用,因为它是最广为人知。
www.diyihulian.com
1.
AspectJ is the most well documented of the AOP tools, with six books in print.
AspectJ是AOP工具的最好证明,目前有六本这方面的书正在印刷。
www-128.ibm.com
2.
Note, however, that the steps required to use Java 5 mode in your AspectJ projects is just the same as with Java projects.
但是,请注意,在AspectJ项目中使用Java5模型所需的步骤与Java项目中的相同。
www.ibm.com
3.
I use the Eclipse environment for development, and the AspectJ plug-in takes care of invoking the compiler with the proper arguments.
在开发中,我使用Eclipse,而AspectJ插件保证采用正确的实参调用编译器。
www.ibm.com
4.
The AspectJ compiler also understands such aspects, so there is a choice of implementation strategy.
AspectJ编译器也明白这些切面,因此有个实现策略的选择。
www.infoq.com
5.
Advice in AspectJ has the same type-safety and exception checking that methods do in the Java language.
AspectJ中的通知具有和Java语言中的方法相同的类型安全和异常检查。
www.ibm.com
6.
This paper use AspectJ as the AOP language, which is used to extract and implement important aspects in IDMS.
本文选择AspectJ语言,提取并实现了IDMS中重要的横切关注点;
www.13191.com
7.
It does not discuss in any detail how to design and create AspectJ-based architectural mechanisms.
文中没有详细介绍如何设计并创建基于AspectJ的架构机制。
www.ibm.com
8.
Series, I provide an overview of both AspectJ 5 the language and the AspectJ 5 release containing the AspectJ compiler and associated tools.
系列的这一期中,我概述了AspectJ5语言和包含AspectJ编译器及相关工具的AspectJ5版本。
www-128.ibm.com
9.
Contains a series of articles exploring the new features of AspectJ 5 and on aspect-oriented programming with AspectJ in general.
包含的系列文章大体上介绍了AspectJ5的新特性以及用AspectJ进行面向方面编程。
www-128.ibm.com
10.
The second statement identifies the exact join point where the advice is executed and makes use of the AspectJ JoinPoint class.
第二条语句指明了通知被执行的确切连接点,并且应用了AspectJ的JoinPoint类。
www.ibm.com
1.
AspectJ home page: Download the latest release and get information about AspectJ and AJDT.
AspectJ主页:下载最新的版本,获取关于AspectJ和AJDT的信息。
www.ibm.com
2.
Probably the most widely AOP system is AspectJ, an extension for Java.
或许最广为人知的AOP系统就是AspectJ,它是对于Java的扩展。
www.infoq.com
3.
Download the latest AspectJ compiler and tools.
请下载最新的AspectJ编译器和工具。
www-128.ibm.com
4.
To do this using AspectJ, you must compile your class and aspect code with the ajc compiler.
要使用AspectJ完成这个操作,必须使用ajc编译器来编译类和Aspect代码。
www.ibm.com
5.
But in this style-called the @AspectJ model-aspects can be compiled using javac.
但以这种风格——叫做@AspectJ模型——切面能使用javac进行编译。
www.infoq.com
6.
I need Spring to configure the aspect that AspectJ has created.
我需要Spring来配置AspectJ建立的观点。
www-128.ibm.com
7.
Listing 6 shows my aspect for tracking database connections using AspectJ and the JDBC API.
清单6显示了利用AspectJ和JDBCAPI跟踪数据库连接的方面。
www.ibm.com
8.
I've used the AspectJ declare parents form to make the PerfStats interface extend a special management interface, PerfStatsMBean.
我采用AspectJ的declareparents格式让PerfStats接口扩展了一个特殊的管理接口PerfStatsMBean。
www.ibm.com
9.
AspectJ 5 also lets you make inter-type declarations on a generic type.
AspectJ5也允许在泛型上进行类型间声明。
www-128.ibm.com
10.
Figure 2 shows the wizard for loading the AspectJ Development Tools plug-in.
图2显示了加载AspectJ开发工具插件的向导。
www.ibm.com
1.
If you use a UML viewer on an AspectJ program, it will probably break because it is expecting plain Java code.
如果对AspectJ程序使用UML查看器,查看器可能会崩溃,因为它要求的是普通Java代码。
www-128.ibm.com
2.
Try entering some AspectJ code in the new aspect.
请试着在新方面中输入一些AspectJ代码。
www.ibm.com
3.
AspectJ in Action (Ramnivas Laddad, Manning 2003): Discusses policy enforcement using aspects and the Observer pattern.
AspectJinAction(RamnivasLaddad,Manning2003年):讨论了使用方面和观察者模式的策略实施。
www.ibm.com
4.
The other approach that has become practical with AspectJ 5 is load-time weaving.
对于AspectJ5的另一种可行的方法是装载时织入。
www-128.ibm.com
5.
Start-up parameter to invoke AspectJ 5 load-time weaving.
启动参数调用AspectJ5装载时织入。
www-128.ibm.com
6.
Object is identical to AspectJ s.
对象的访问技术与AspectJ相同。
www-128.ibm.com
7.
Note that the example code has been created using AspectJ 5.
注意,示例代码是使用AspectJ5创建的。
www-128.ibm.com
8.
AspectJ and AspectWerkz offer a concise way of referring to multiple types (for example, Account indicates all subtypes of an account).
AspectJ和AspectWerkz提供了一种简洁的引用多个类型的技术(例如Account 表示帐户的所有子类型)。
www.ibm.com
9.
You may also want to download AJDT or the command-line AspectJ compiler for use in following the examples.
也可以下载以下示例中使用的AJDT或命令行AspectJ编译器。
www-128.ibm.com
10.
If AspectJ is your AOP tool of choice, you must move to its compiler on all Java projects for which you want to enable the use of aspects.
如果选择了AspectJ作为AOP工具,那么所有需要使用方面的Java项目都必须使用AspectJ的编译器。
www.ibm.com
1.
Create an abstract AspectJ class that will be used and extended in some target project.
创建将在某个目标项目中使用并扩展的抽象的AspectJ类。
www.ibm.com
2.
To learn about using AspectJ load-time weaving on earlier versions of the Java language.
以了解关于对更早版本的Java语言使用AspectJ装载时织入的知识。
www-128.ibm.com
3.
To download AspectJ or the Spring framework, which you will need to follow the examples.
下载AspectJ或Spring框架,执行范例需要它们。
www-128.ibm.com
4.
Secondly, there are always more features we can develop to enhance the tooling for AspectJ.
其次,我们总有更多特性可以开发,以增强AspectJ的工具。
www.ibm.com
5.
I'll also discuss the specific support for new features in AspectJ 5 and walk you through the migration process from AJDT 1. 1.
我还将讨论对AspectJ5中新特性的特定支持,并带您经历从AJDT1.1中进行迁移的过程。
www.ibm.com
6.
In fact, using aspects (via AspectJ, for example) is the only way to achieve this effect in the Java language (see Resources).
事实上,使用视点(比如说通过AspectJ)是在Java语言中实现此效果的唯一方法(参见参考资料)。
www.ibm.com
7.
This is why there are two extra settings available for AspectJ projects.
这就是AspectJ项目中还有两个额外设置的原因。
www.ibm.com
8.
So why did we choose to align with AspectJ in Spring 2. 0?
那么为什么我们选择在Spring2.0中采用AspectJ呢?
www.infoq.com
9.
This is an age-old problem that didn't have a good solution until AspectJ arrived.
这是一个老问题,在出现AspectJ之前一直都没有什么好的解决方案。
www.ibm.com
10.
Don't want to use a special compiler such as AspectJ compiler ( ajc).
不想使用特殊的编译器,比如AspectJ编译器(ajc)。
www.infoq.com
1.
In situations like this, AspectJ applies a run-time test to see whether the argument is an
在这种情况下,AspectJ应用运行时测试来判断参数是不是
www-128.ibm.com
2.
AspectJ 5 adds new pointcut designators such as @this to match based on the presence of annotations.
AspectJ5添加了新的切入点指示器,例如根据注释是否存在而进行匹配的@this。
www.ibm.com
3.
As an illustrate, I'll rewrite part of our earlier example, putting the pointcut in an AspectJ aspect
作为演示,我会重写我们早先例子的一部分,把切入点放在一个AspectJ切面中
www.infoq.com
4.
Annotation enabling unchecked warnings to be suppressed in a member, AspectJ supports the
注释,可以在成员中抑制未检测警告一样,AspectJ支持
www-128.ibm.com
5.
AspectJ pointcut expression language support, allowing developers to apply cross-cutting security logic across their Spring managed objects
AspectJ切入点表达式语言支持,允许开发者在Spring管理的对象上应用横切(cross-cutting)安全逻辑
www.infoq.com
6.
In this section, I've outlined the main trade-offs of AspectJ's language extension approach from the perspective of build integration
这一节将从构建集成的角度描绘AspectJ的语言扩展方法的一些主要利弊
www.ibm.com
7.
In AspectJ, you can use advice to provide the same guarantees but avoid locking down the order
在AspectJ中,可以使用通知提供同样的保证但避免了锁定调用的顺序
www.ibm.com
8.
The proposed syntax for AspectJ extends the current static crosscutting constructs to create a new
AspectJ建议的语法扩展了当前的静态横切构造,以创建一个新的
www-128.ibm.com
9.
It will become an alternate way of writing AspectJ programs and be renamed to the
它将成为编写AspectJ程序的另一种方法,并更名为
www-128.ibm.com
10.
For a complete treatment of generics in AspectJ 5, please refer to the
关于在AspectJ5中对泛型的完整处理,请参阅
www-128.ibm.com
1.
Test flexibly with AspectJ and mock objects
AspectJ和模仿对象的测试灵活性
www-128.ibm.com
2.
AspectJ support - support for AspectJ load-time weaving has been added for some environments, there is also a new bean() pointcut
对AspectJ的支持——在一些环境下,增加了对AspectJ的装载时编织支持,同时提供了一个新的bean切入点。
www.infoq.com
3.
Check out library aspects with AspectJ 5
使用AspectJ5检验库方面
www-128.ibm.com
4.
The key difference between AspectWerkz and AspectJ is that
AspectWerkz和AspectJ之间的重要区别就是
www-128.ibm.com
5.
Figure 1: The syntax used by AspectJ to describe pointcuts
图1:AspectJ使用语法来描述横切点
www.ibm.com
随便看

 

英汉双解词典包含2704715条英汉词条,基本涵盖了全部常用单词的翻译及用法,是英语学习的有利工具。

 

Copyright © 2004-2022 Newdu.com All Rights Reserved
更新时间:2024/12/26 2:05:33