If you're a framework developer, you now know exactly what you need to do to integrate your framework with CDI and, by extension, with the EE environment.
如果你是一位框架开发员,那现在就会确切地知道需要做什么来将框架与CDI 集成,进而与EE环境集成。
Targets, events, and the CDI model.
目标、事件和cdi模型。
The services supported by CDI provide
CDI支持的服务提供了如下功能
Some of the CDI annotations are as follows.
CDI提供的一些注解列举如下。
This is perhaps the most exciting feature of CDI.
这也许是CDI最令人激动的特性了。
Implementing a real-life application using ZK with cdi.
使用ZK和CDI实现实际应用程序。
CDI unifies and simplifies the EJB and JSF programming models.
CDI统一并简化了EJB与JSF的编程模型。
The advent of CDI and JSF2 represents a new direction for Seam.
CDI和JSF 2的出现预示了Seam的新方向。
These features are not included in standard EJB or CDI implementations.
这些特性并没有包含在标准的EJB或者CDI实现中。
CDI now USES the annotations defined by JSR-330 to declare injection points.
CDI现在使用JSR- 330所定义的注解来声明注入点。
This section explores more CDI features by implementing a real-life application.
这一章通过实现实际应用程序来探索更多CDI特性。
But the CDI model and the Eclipse debug model can't talk directly to one another.
但cdi模型与Eclipse调试模型之间不能直接对话。
Seam International, providing localized services to your CDI-based application.
SeamInternational,为基于CDI的应用提供了本地化服务。
The following simple example shows how to access a CDI managed bean from a ZUL file.
下面的这个简单例子演示了如何从ZUL文件访问托管CDIbean。
The ZK CDI extension has features that let you use CDI within the ZK programming model.
ZKCDI扩展具有特性,可让您使用ZK编程模型中的CDI。
Add an empty beans.xml file under the WEB-INF folder to enable dependency injection by CDI.
添加空的beans . xml文件到WEB - INF文件夹下,以启用CDI的依赖注入。
Seam Remoting, an Ajax-based framework for invoking your CDI beans directly from a web page.
SeamRemoting,这是一个基于Ajax的框架,用于从网页中直接调用CDIBean。
However, you should have no trouble getting it to run in another CDI-enabled application server.
尽管如此,将其运用到其他启用CDI的应用程序服务器应该也没有问题。
Many of these listeners are elements in the CDI model, but an important exception is an object called CDebugTarget.
许多侦听器是cdi模型的元素,但一个重要的例外是一个称为CDebugTarget的对象。
The CDebugTarget is the root of this wrapper-model hierarchy, and it listens for events fired by the CDI EventManager.
CDebugTarget是这个包装器模型层次结构的根,它侦听由CDIEventManager触发的事件。
After creating the CDI event, the EventManager notifies all interested listeners that a state change has occurred.
创建CDI事件后,EventManager告诉所有相关的侦听器状态发生了改变。
According to the CDI specification, having a no-arg default constructor makes this class eligible to be a managed bean.
根据CDI规范,有一个no - arg默认构造函数使得这个类能成为托管bean。
The MI-CDI-wrapper-Eclipse communication is useful only if it updates Eclipse's graphical display with proper debug data.
只有使用适当的数据更新eclipse的图形化显示时,MI- CDI - wrapper - Eclipse通信才是有用的。
Moreover, Siwpas Enterprise Edition includes clustering and failover of stateful EJB and CDI beans with Tomcat native clustering.
此外,Siwpas企业版还包含了带有状态的EJB的集群和灾难恢复,以及带有Tomcat本地集群的CDIbeans。
CDI 1.1 aims to address these rough spots, as well as to standardize a few of the most popular extensions the community has built.
CDI 1.1旨在解决这些瑕疵,同时标准化社区所开发的大多数流行的扩展。
Each changeable aspect of the target is represented by an ICDIObject, and these objects form a hierarchy called the CDI Model.
目标的每个可修改的方面都使用一个ICDIObject表示,并且这些对象组成了一个称为CDI Model的层次结构。
The MISession object manages communication to the GDB, and the session object connects the GDB session to the CDI described in Part 1.
MISession对象管理与gdb的通信,Session对象把gdb会话连接到第1部分中描述的CDI。
The CDebugTarget responds to CDI events by creating DebugEvents, which are generally related to stepping, breaking, and resuming execution.
CDebugTarget通过创建DebugEvents来响应CDI事件,这个过程通常涉及单步调试、中断、重新执行。
The CDebugTarget responds to CDI events by creating DebugEvents, which are generally related to stepping, breaking, and resuming execution.
CDebugTarget通过创建DebugEvents来响应CDI事件,这个过程通常涉及单步调试、中断、重新执行。
应用推荐