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

DI: First "operational" decoding chain.


* Refactoring: Remove unneeded Generics from several encodings and
  adapters. It is not possible in Guice to bind arbitrary Generics
  without additional concepts and a lot of implementation work. Thus,
  reduce the use of generics where possible.
* Modify the decoders to contain Provides methods that are resolved by
  the Guice injector to resolve the execution order.
* Reduce a lot of boilerplate code from the Decoders that was required
  by the old JGraphT-based Decoding.
* Only support FailSafeTaskMappingEntries for now: The genericification
  shall be discussed anyways.
* Register the guicified decoders in the Service registration class
  ExplorationAlg.
* Don't allow double registration of Guice Modules in the
  ExplorationModule service.
* Add a ThreadLocalScope that may be required for parallelization to
  ensure using the correct genotypes in the decoders.

Signed-off-by: default avatarAlexander Diewald <diewald@fortiss.org>
parent 7b045f36
No related branches found
No related tags found
1 merge request!2Dependency injection
Showing
with 138 additions and 219 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