Interface | Description |
---|---|
Instance<T> |
Allows the application to dynamically obtain instances of beans with a specified combination of required type and qualifiers.
|
Class | Description |
---|---|
Alternative.Literal |
Supports inline instantiation of the
Alternative annotation. |
Any.Literal |
Supports inline instantiation of the
Any qualifier. |
Default.Literal |
Supports inline instantiation of the
Default qualifier. |
New.Literal |
Supports inline instantiation of the
New qualifier. |
Specializes.Literal |
Supports inline instantiation of the
Specializes annotation. |
TransientReference.Literal |
Supports inline instantiation of the
TransientReference annotation. |
Typed.Literal |
Supports inline instantiation of the
Typed annotation. |
Vetoed.Literal |
Supports inline instantiation of the
Vetoed annotation. |
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 not
Dependent . |
InjectionException |
|
ResolutionException |
|
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 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 decorating
|
Default |
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.
|
New |
The
New qualifier was deprecated in CDI 1.1. |
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 @TransientReference resolves 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.
|
Copyright © 1996-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.