Curently the ArchitectureEnhancer class uses an injected list of Enhancer (the @Inject @UsesComponent(description="Uses all enhancers") Instance<Enhancer> enhancers; line).
This prevents easy test of Enhancer (because it will always use all the Enhancer that are accessible by CDI).
Using this as a non-injectable parameter would allow us to test our Enhancers in real conditions.
Curently the
ArchitectureEnhancer
class uses an injected list ofEnhancer
(the@Inject @UsesComponent(description="Uses all enhancers") Instance<Enhancer> enhancers;
line). This prevents easy test of Enhancer (because it will always use all theEnhancer
that are accessible by CDI). Using this as a non-injectable parameter would allow us to test our Enhancers in real conditions.