TestNG established itself as an annotations-based framework long before the modifications to JUnit were in progress.
在修改JUnit之前很久,TestNG 就已建立为一个基于注释的框架。
Based on the new execution annotations the user can define if the call back methods of his network handler should be executed in single threaded mode or multithreaded mode.
基于新的执行注释,用户能清楚地规定其网络处理器中的回调函数应该以单线程的模式执行还是多线程的模式执行。
Based on the above instructions on annotations, you can write a simple Jython service, given below, and expose it as a Web service with the help of the Jython deployer.
依照上述关于注释的说明,您可以编写一个简单的Jython服务(如下所示),并借助Jython部署程序将它公开为Web服务。
So, should you go with the code style, or declare aspects using annotations or XML? Here's a summary of the trade-offs of AspectJ's Java code-based approach.
那么,应当采用代码风格,还是用注释或XML声明方面呢?
An AOP system that supports consuming annotations will let you select join points based on annotations associated with program elements.
支持消费注释的AOP系统使您可以基于与程序元素相关联的注释选择连接点。
Listing 2 is based on Listing 1, but USES more formal annotations.
清单2以清单1为基础,但使用了更正式的注释。
Secondly, the SCA programming model is a POJO programming model, it's based on annotations, XML configurations, and dependency injection.
其次,SCA编程模型是一个POJO编程模型,它基于注释、XML配置文件以及依赖注入。
These annotations are in lieu of the XML-based configuration files that typically accompany frameworks of this nature.
这些注解取代了基于XML的配置文件(其他框架一般都有这样的配置文件)。
Annotations can now be used to define metadata directly in the application code, in addition to having an XML-based mechanism.
除了使用基于XML的机制外,现在还可以使用注释来直接在应用程序中定义元数据。
It should also be possible to select a transport type based on qualities of service annotations in the ME.
基于在ME中标注的服务质量来选择传输类型也是可能的。
A processor add-on could be run right before the product is packaged as a war file and would produce the server specific deployment descriptors for the web service based on the annotations.
处理器外接程序可以在将产品打包为war文件前正确运行,并且将基于注释为Web服务生成服务器特定的部署描述符。
If you don't specify a WSDL for a service endpoint in the cxf-servlet.xml file, CXF automatically generates one at run time based on the JAX-WS annotations.
如果在cxf - servlet .xml文件中不指定服务端点的WSDL文档,cxf会在运行时基于JAX - WS注释自动生成一个WSDL文档。
The retention policy, which is an important part of implementing Annotations, is based on how long the data needs to be kept in memory. There are three different types of retention policy
保持策略(retention policy)是实现注解的重要一环,根据数据在内存中保持时间的长短,有三种类型的保持策略
Basically, we are defining new annotations as a facade over our old XML-based API.
基本上,我们在老的基于XML的API上定义新的注解作为facade。
Unfortunately due to JUnit 3's design being based on concrete inheritance, these useful annotations are not available to other tests using Spring.
不幸的是,由于JUnit3的设计基于具体的继承,这些有用的注解对于使用Spring的其他测试不再有用。
Full annotation-based configuration support - All configuration can now be done using annotations, and JSR 250 annotations are also supported.
完全支持基于注解的配置——现在所有的配置都可以使用注解来实现,并且也支持JSR250注解。
Seam adds to EJB3 annotations and expands the annotation-based programming model to the entire web application.
Seam加入了EJB3的注解,为整个web应用拓展了基于注解的编程模型。
This plugin can be used for generating OSGi service descriptors based on annotations.
该插件可以用来基于注解产生OSGi服务描述符。
Emmanuel said that JPA 2.0 framework could use the bean validation framework to generate database constraints based on the bean constraint annotations.
Emmanuel说到,JPA 2.0框架可以使用bean校验框架基于bean的约束注解来产生数据库约束。
Support for JSR 250 (" EJB 3 ") security annotations, delivering a standards-based model for authorization metadata.
支持JSR 250 (“EJB3”)security注解,提供了针对授权元数据的基于标准的模型。
It is based on the observation that despite various changes of pages, many important page features are preserved, such as text patterns, annotations, and hyperlinks.
它基于以下的观察:尽管页面有多种多样的变化方式,但是许多重要的页面特征在新页面都得到了保存,例如文本模式、注释信息和超级链接。
Based on comparison with modem Nanchang dialect, it is argued that the initial system recorded in the phonetic annotations of the said book is that of Nanchang dialect at late Qing Dynasty.
通过与现代南昌话声母系统特征进行比较,确定了直音所反映的就是清代末期南昌话的声母系统。
Based on comparison with modem Nanchang dialect, it is argued that the initial system recorded in the phonetic annotations of the said book is that of Nanchang dialect at late Qing Dynasty.
通过与现代南昌话声母系统特征进行比较,确定了直音所反映的就是清代末期南昌话的声母系统。
应用推荐