CDI's flagship feature is a declarative API for dependency injection. Classes can have dependencies flagged with the @Inject
annotation, which will indicate to the CDI manager that it needs to provide those dependencies when constructing an instance of the class.