For details about CDI, see Chapter 23, "Introduction to Contexts and Dependency Injection for Java EE" and Chapter 25, "Contexts and Dependency Injection for Java EE: Advanced Topics."
Do not specify the following classes in the resource adapter as CDI managed beans (that is, do not inject them), because the behavior of these classes as CDI managed beans has not been portably defined.
Resource adapter beans: These beans are classes that are annotated with the javax.resource.spi.Connector
annotation or are declared as corresponding elements in the resource adapter deployment descriptor, ra.xml
.
Managed connection factory beans: These beans are classes that are annotated with the javax.resource.spi.ConnectorDefinition
annotation or the javax.resource.spi.ConnectorDefinitions
annotation or are declared as corresponding elements in ra.xml
.
Activation specification beans: These beans are classes that are annotated with the javax.resource.spi.Activation
annotation or are declared as corresponding elements in ra.xml
.
Administered object beans: These beans are classes that are annotated with the javax.resource.spi.AdministeredObject
annotation or are declared as corresponding elements in ra.xml
.
Other types of classes in the resource adapter can be CDI managed beans and will behave in a portable manner.
Table of Contents Java Platform, Enterprise Edition: The Java EE TutorialExpand|
CollapseRetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.3