Package jakarta.enterprise.inject
-
Interface Summary Interface Description Instance<T> Allows the application to dynamically obtain instances of beans with a specified combination of required type and qualifiers.Instance.Handle<T> This interface represents a contextual reference handle. -
Class Summary Class Description Alternative.Literal Supports inline instantiation of theAlternativeannotation.Any.Literal Supports inline instantiation of theAnyqualifier.Default.Literal Supports inline instantiation of theDefaultqualifier.Specializes.Literal Supports inline instantiation of theSpecializesannotation.TransientReference.Literal Supports inline instantiation of theTransientReferenceannotation.Typed.Literal Supports inline instantiation of theTypedannotation.Vetoed.Literal Supports inline instantiation of theVetoedannotation. -
Exception Summary Exception Description AmbiguousResolutionException Indicates that multiple beans match a certain combination of required type and required qualifiers and are eligible for injection into a certain class.CreationException Indicates that a checked exception was thrown during creation of a bean.IllegalProductException Indicates that a producer method returned a null value or a producer field contained a null value, and the scope of the producer method or field was notDependent.InjectionException Indicates a problem relating to dependency injection.ResolutionException Indicates a problem relating to typesafe resolution.UnproxyableResolutionException Indicates that a contextual reference for a bean with a normal scope and a certain bean type cannot be obtained because the bean type cannot be proxied by the container.UnsatisfiedResolutionException Indicates that no bean matches a certain combination of required type and required qualifiers and is eligible for injection into a certain class. -
Annotation Types Summary Annotation Type Description Alternative Specifies that a bean is an alternative.Any The built-in qualifier type.Decorated A decorator may inject metadata about the bean it is decoratingDefault The default qualifier type.Disposes Identifies the disposed parameter of a disposer method.Intercepted An interceptor may inject metadata about the bean it is intercepting.Model The built-in stereotype intended for use with beans that define the model layer of an MVC web application architecture such as JSF.Produces Identifies a producer method or field.Specializes Indicates that a bean directly specializes another bean.Stereotype Specifies that an annotation type is a stereotype.TransientReference If a parameter annotated with@TransientReferenceresolves to a dependent scoped bean, then the bean will be destroyed after the invocation completes.Typed Restricts the bean types of a bean.Vetoed Veto the processing of the class.