Module jakarta.cdi

Class CDI<T>

java.lang.Object
jakarta.enterprise.inject.spi.CDI<T>
Type Parameters:
T - type inherited from Instance. Always Object for CDI
All Implemented Interfaces:
Instance<T>, Provider<T>, Iterable<T>

public abstract class CDI<T> extends Object implements Instance<T>
Provides access to the current container.

CDI implements Instance and therefore might be used to perform programmatic lookup. If no qualifier is passed to Instance.select(java.lang.annotation.Annotation...) method, the @Default qualifier is assumed.

Since:
1.1