| Modifier and Type | Interface and Description |
|---|---|
| public interface | Instance<
the required bean type T>Allows the application to dynamically obtain instances of beans with a specified combination of required type and qualifiers. |
| Modifier and Type | Annotation and Description |
|---|---|
| public @interface | Alternative
Specifies that a bean is an alternative. |
| public @interface | Any
The built-in qualifier type. |
| public @interface | Decorated
A decorator may inject metadata about the bean it is decorating
@Decorator
class TimestampLogger implements Logger {
@Inject
@Delegate
@Any
Logger logger;
@Inject
@Decorated
Bean<Logger> bean;
void log(String message) {
...
|
| public @interface | Default
The default qualifier type. |
| public @interface | Disposes
Identifies the disposed parameter of a disposer method. |
| public @interface | Intercepted
An interceptor may inject metadata about the bean it is intercepting. |
| public @interface | Model
The built-in stereotype intended for use with beans that define the model layer of an MVC web application architecture such as JSF. |
| public @interface | |
| public @interface | Produces
Identifies a producer method or field. |
| public @interface | Specializes
Indicates that a bean directly specializes another bean. |
| public @interface | Stereotype
Specifies that an annotation type is a stereotype. |
| public @interface | TransientReference
If a parameter annotated with @TransientReference resolves to a dependent scoped bean, then the bean will be destroyed after the invocation completes. |
| public @interface | Typed
Restricts the bean types of a bean. |
| public @interface | Vetoed
Veto the processing of the class. |
| Modifier and Type | Class and Description |
|---|---|
| public class | AmbiguousResolutionException
Indicates that multiple beans match a certain combination of required type and required qualifiers and are eligible for injection into a certain class. |
| public class | CreationException
Indicates that a checked exception was thrown during creation of a bean. |
| public class | 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 |
| public class | InjectionException
<t>Indicates a problem relating to dependency injection.</t> |
| public class | ResolutionException
<t>Indicates a problem relating to typesafe resolution.</t> |
| public class | 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. |
| public class | UnsatisfiedResolutionException
Indicates that no bean matches a certain combination of required type and required qualifiers and is eligible for injection into a certain class. |