-
Notifications
You must be signed in to change notification settings - Fork 23
/
index.html.slim
190 lines (186 loc) · 8.98 KB
/
index.html.slim
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
---
layout: base
priority: 0.5
title: Contexts and Dependency Injection for Java Specification
desc: Latest news about CDI 2.0 , JCP pages, Servers supporting CDI, Overview of Contexts and Dependency Injection for Java EE (CDI),
change_frequency: weekly
---
.col-md-8
ul.nav.nav-tabs-center#front-menu
li.dropdown
a.dropdown-toggle href='#' data-toggle='dropdown'
'Highlights
b.caret
ul.dropdown-menu
li
a href='#cdi3_0' data-toggle='tab' CDI 3.0
li
a href='#cdi_jakarta_2_0' data-toggle='tab' CDI 2.0(Jakarta)
li
a href='#cdi2_0' data-toggle='tab' CDI 2.0
li
a href='#cdi1_1' data-toggle='tab' CDI 1.1 & 1.2
li
a href='#cdi1_0' data-toggle='tab' CDI 1.0
li.dropdown
a.dropdown-toggle href='#' data-toggle='dropdown'
'Spec pages
b.caret
ul.dropdown-menu
li
a href='https://jakarta.ee/specifications/cdi/3.0/' target='_blank'
'CDI 3.0 - Jakarta EE 9
i.fa.fa-external-link.fa-w
li
a href='https://jakarta.ee/specifications/cdi/2.0/' target='_blank'
'CDI 2.0 - Jakarta EE 8
i.fa.fa-external-link.fa-w
li
a href='http://jcp.org/en/jsr/detail?id=365' target='_blank'
'CDI 2.0 - JSR 365
i.fa.fa-external-link.fa-w
li
a href='http://jcp.org/en/jsr/detail?id=346' target='_blank'
'CDI 1.2 - JSR 346
i.fa.fa-external-link.fa-w
li
a href='http://jcp.org/en/jsr/detail?id=299' target='_blank'
'CDI 1.0 - JSR 299
i.fa.fa-external-link.fa-w
li
a href='#servers' data-toggle='tab' Servers
li.active
a href='#overview' data-toggle='tab' Overview
/li
a href='#cdi2' data-toggle='tab' CDI 2.0 news
.tab-content
.tab-pane.fade#cdi1_1
markdown:
CDI 1.1 & 1.2
-------
CDI 1.1 focuses on improving CDI 1.0 and CDI 1.2 is a minor update correcting issues in 1.1:
* Add global enablement of interceptors (see the [Java Interceptors Specification 1.2](http://interceptors-spec.java.net/)), global enablement of decorators ([read more](http://docs.jboss.org/cdi/spec/1.2/cdi-spec.html#enabled_decorators_priority)) and alternatives ([read more](http://docs.jboss.org/cdi/spec/1.2/cdi-spec.html#declaring_selected_alternatives)) using the `@Priority` annotation
* Add support for `@AroundConstruct` lifecycle callback for constructors (see the Java Interceptors Specification 1.2)
* Allow binding interceptors to constructors
* Moved interceptor binding to interceptors spec, allowing for reuse by other specifications
* Support decorators on built in beans ([read more](http://docs.jboss.org/cdi/spec/1.2/cdi-spec.html#decorators))
* Add `EventMetadata` ([read more](http://docs.jboss.org/cdi/spec/1.2/cdi-spec.html#event_metadata)) to allow inspection of event metadata
* Add `@Vetoed` annotation allowing easy programmatic disablement of classes ([read more](http://docs.jboss.org/cdi/spec/1.2/cdi-spec.html#what_classes_are_beans))
* Many improvements for passivation capable beans, including `@TransientReference` allowing instances to be retained only for use within the invoked method or constructor ([read more](http://docs.jboss.org/cdi/spec/1.2/cdi-spec.html#passivation_capable_injection_points) and [read more](http://docs.jboss.org/cdi/spec/1.2/cdi-spec.html#passivating_scope))
* Add scope activation and destruction callback events ([read more](http://docs.jboss.org/cdi/spec/1.2/cdi-spec.html#builtin_contexts))
* Add `AlterableContext` allowing bean instances to be explicitly destroyed ([read more](http://docs.jboss.org/cdi/spec/1.2/cdi-spec.html#context))
* Add automatic enablement of CDI for beans with a scope annotation, and EJBs, in Java EE ([read more](http://docs.jboss.org/cdi/spec/1.2/cdi-spec.html#type_discovery_steps))
* Add class exclusion filters to `beans.xml` to prevent scanning of classes and packages ([read more](http://docs.jboss.org/cdi/spec/1.2/cdi-spec.html#exclude_filters))
* Add `Unmanaged` allowing easy access to non-contexutal instances of beans ([read more](http://docs.jboss.org/cdi/spec/1.2/cdi-spec.html#bm_obtain_unmanaged_instance))
* Add `CDI` allowing easy accesss to the current CDI container ([read more](http://docs.jboss.org/cdi/spec/1.2/cdi-spec.html#provider))
* Add `AfterTypeDiscovery` event, allowing extensions to register additional types after type discovery ([read more](http://docs.jboss.org/cdi/spec/1.2/cdi-spec.html#after_type_discovery))
* Add `@WithAnnotations` as a way of improving extension loading performance ([read more](http://docs.jboss.org/cdi/spec/1.2/cdi-spec.html#process_annotated_type))
* Many minor improvements to portable extensions ([read more](http://docs.jboss.org/cdi/spec/1.2/cdi-spec.html#spi))
.tab-pane.fade#cdi3_0
= partial('cdi3.adoc')
.tab-pane.fade#cdi_jakarta_2_0
= partial('cdi2-jakarta.adoc')
.tab-pane.fade#cdi2_0
= partial('cdi2.adoc')
.tab-pane.fade.in.active#overview
h2 What is CDI?
= partial('cdi_1_0.adoc')
markdown:
Latest Release
--------------
The latest release of CDI is 3.0. You can [download](https://jakarta.ee/specifications/cdi/3.0/) the spec or [browse the javadoc](https://jakarta.ee/specifications/cdi/3.0/apidocs/).
.tab-pane.fade#cdi1_0
h2 CDI 1.0
= partial('cdi_1_0.adoc')
.tab-pane.fade#servers
p
|Below is the current list of servers supporting CDI, also listed is the implementation used. Only the last servers major version are listed
.row
.col-md-4
.thumbnail
img src='#{site.base_url}/images/servers/glassfish.gif'
.caption
h4 Oracle GlassFish 4.1+
h5 using Weld 2.2.x / CDI 1.2
.col-md-4
.thumbnail
img src='#{site.base_url}/images/servers/tmax_soft.jpg'
.caption
h4 TMAX JEUS 8
h5 using Weld 2.0 / CDI 1.1
.col-md-4
.thumbnail
img src='#{site.base_url}/images/servers/wildfly.png'
.caption
h4 WildFly 8.2.0
h5 using Weld 2.2.6 / CDI 1.2
.col-md-4
.thumbnail
img src='#{site.base_url}/images/servers/cosminexus.png'
.caption
h4 Hitachi Cosminexus v 1.0
h5 using Weld 2.0 / CDI 1.1
.col-md-4
.thumbnail
img src='#{site.base_url}/images/servers/jbosseap6.png'
.caption
h4 JBoss EAP 6.3
h5 using Weld 1.1.23 / CDI 1.0
.col-md-4
.thumbnail
img src='#{site.base_url}/images/servers/IBM.gif'
.caption
h4 IBM WebSphere 8.5.x & Liberty profile
h5 using OpenWebBeans 1.2.x / CDI 1.0
.col-md-4
.thumbnail
img src='#{site.base_url}/images/servers/fujitsu.png'
.caption
h4 Fujitsu Interstage v10.1 / Windows Azure
h5 using Weld 1.1.x / CDI 1.0
.col-md-4
.thumbnail
img src='#{site.base_url}/images/servers/oracle.gif'
.caption
h4 Oracle WebLogic 12
h5 using Weld 1.1.3 / CDI 1.0
.col-md-4
.thumbnail
img src='#{site.base_url}/images/servers/geronimo.jpg'
.caption
h4 Apache Geronimo 3.0.1
h5 using OpenWebBeans 1.1.1 / CDI 1.0
.col-md-4
.thumbnail
img src='#{site.base_url}/images/servers/jbossas7.jpg'
.caption
h4 JBoss AS 7.1.1
h5 using Weld 1.1.5 / CDI 1.0
.col-md-4
.thumbnail
img src='#{site.base_url}/images/servers/caucho.jpg'
.caption
h4 Caucho Resin 4.0.17
h5 using CanDI 1.0 / CDI 1.0
.col-md-4
.thumbnail
img src='#{site.base_url}/images/servers/tomee.gif'
.caption
h4 Apache TomEE 1.6
h5 using OpenWebBeans 1.2.6 / CDI 1.0
.col-md-4
.thumbnail
img src='#{site.base_url}/images/servers/sap-logo.jpg'
.caption
h4 SAP NetWeaver Cloud
h5 using OpenWebBeans 1.x / CDI 1.0
.col-md-4
.thumbnail
img src='#{site.base_url}/images/servers/jonas.png'
.caption
h4 JOnAS 5.3.0
h5 using Weld 1.1.10 / CDI 1.0
.col-md-4
a.twitter-timeline data-widget-id="564817995261026304" href="https://twitter.com/cdispec" Tweets by @cdispec
javascript:
!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");