Skip navigation links

CDI APIs 2.0 API

Contexts and Dependency Injection (CDI) defines a set of complementary services that help improve the structure of application code.

See: Description

Packages 
Package Description
javax.decorator
Annotations relating to decorators.
javax.enterprise.context
Annotations and interfaces relating to scopes and contexts.
javax.enterprise.context.control  
javax.enterprise.context.spi
The custom context SPI.
javax.enterprise.event
Annotations and interfaces relating to events.
javax.enterprise.inject  
javax.enterprise.inject.literal  
javax.enterprise.inject.se  
javax.enterprise.inject.spi
The portable extension integration SPI.
javax.enterprise.inject.spi.configurator  
javax.enterprise.util
Contains shared, general-purpose helper classes and annotations.

Contexts and Dependency Injection (CDI) defines a set of complementary services that help improve the structure of application code.

CDI allows objects to be bound to lifecycle contexts, to be injected, to be associated with interceptors and decorators, and to interact in a loosely coupled fashion by firing and observing events. Various kinds of objects are injectable, including EJB 3 session beans, managed beans, producer methods and Java EE resources. We refer to these objects in general terms as beans and to instances of beans that are bound to contexts as contextual instances.

Skip navigation links

Copyright © 2008–2017 JBoss by Red Hat, Inc.. All rights reserved.