se.jbee.inject.bootstrap
Interface Linker<T>
- Type Parameters:
T - The type of the artifacts created. This can be any kind of data the is derived from
the input (Bindings).
public interface Linker<T>
A strategy to create actual artifacts that reflect actual links between an abstract type
and its actual implementation(s). This includes the strategy how to construct them (what includes
which constructor is picked).
- Author:
- Jan Bernitt (jan@jbee.se)
|
Method Summary |
T[] |
link(Bindings bindings,
Module... modules)
Links the Bindings described by the given Modules to a list of artifacts that
represent those in some linker specific form. |
link
T[] link(Bindings bindings,
Module... modules)
- Links the
Bindings described by the given Modules to a list of artifacts that
represent those in some linker specific form.
- Parameters:
bindings - modules - A list of Modules to link together.
- Returns:
- A list of artifacts resulting from the
Module's declaration of
Bindings.