Package org.microbean.bean.model
package org.microbean.bean.model
Provides classes and interfaces related to modeling dependency resolutions.
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 anAnnotatedConstruct(normally aElement. (A dependency will not represent the bean that supplies it.) - From this list, you can extract a set of
AnnotatedConstructs. These represent all the demand in the system. - For each such
AnnotatedConstruct, you can perform typesafe resolution and find aBeanthat satisfies the demand. - The resulting model should not have any "holes". That is, every
AnnotatedConstructshould be matched up with exactly oneBean. When this is not the case, the model is invalid.
- Author:
- Laird Nelson
-
ClassesClassDescriptionAn immutable model of a system's dependency resolutions.A representation of the attempted resolution of a dependency, represented by an
Annotated<? extends AnnotatedConstruct>, to aListofBeans that match it.