Package org.microbean.bean.model
package org.microbean.bean.model
Provides classes and interfaces related to demand modeled by injection points.
This package is experimental, incomplete, and subject to change at any moment.
The general idea is:
- You start with a list of
Beans (Aggregates, really). Each element will have dependencies. A dependency is represented by anAttributedElement. (For any dependency, it will not represent the bean that supplies it.) - From this list, you can extract a set of
AttributedTypes. These represent all the demand in the system. - For each such
AttributedType, you can perform typesafe resolution and find aBeanthat satisfies the demand. - The resulting model should not have any "holes". That is, every
AttributedTypeshould be matched up with exactly oneBean.
- Author:
- Laird Nelson