Dependency graph outline |
- Class nodes ①, ② representing any Java type that is somehow involved in CDI.
- Bean nodes ③. Bean node represents a set of instances of certain Java type that are indistinguishable is sense of typesafe resolution i.e. instances living in the same context and having the same set of qualifiers.
There are three types of arches:
- Arch that connects bean node and belonging class node ⑦.
- "production" arch ⑤ that leads from a class member annotated by
@Produces to a node of produced bean. - "injection" arch ⑥ that leads from a bean to a bean member which is the bean injected in.