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 an AttributedElement. (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 a Bean that satisfies the demand.
  • The resulting model should not have any "holes". That is, every AttributedType should be matched up with exactly one Bean.
Author:
Laird Nelson