Skip to content
Snippets Groups Projects
Commit 540c157b authored by Alexander Diewald's avatar Alexander Diewald
Browse files

DSE-DI: Cleanup for DI-based decoders (DI --> Guice).


* Create a GuiceDecoder class that serves as a container at which
  Guice-based decoders can be registered. It calls the Decoder that
  provides the demanded output encoding (Provides annotation). The
  Guice injector will be responsible to resolve the dependencies between
  the decoders.
* Simplify the Phenotype classes such that there exists only a single
  phenotype that can host sub-phenotypes.
* Also remove the generic from the phenotype that declares it's primary
  input genotype: There is almost no gain in terms of safety/robustness
  versus a ton of code complications.

Signed-off-by: default avatarAlexander Diewald <diewald@fortiss.org>
parent 9bf4fcf3
No related branches found
No related tags found
1 merge request!2Dependency injection
Showing
with 52 additions and 48 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment