Package | Description |
---|---|
javax.enterprise.context |
Annotations and interfaces relating to scopes and contexts.
|
javax.inject |
This package specifies a means for obtaining objects in such a way as to
maximize reusability, testability and maintainability compared to
traditional approaches such as constructors, factories, and service
locators (e.g., JNDI). This process, known as dependency
injection, is beneficial to most nontrivial applications.
|
Modifier and Type | Class and Description |
---|---|
interface |
Dependent
Specifies that a bean belongs to the dependent pseudo-scope.
|
Modifier and Type | Class and Description |
---|---|
interface |
Singleton
Identifies a type that the injector only instantiates once.
|
Copyright © 2019 Eclipse Foundation.
Use is subject to license terms.