>>>>> Steinar Bang <s...@dod.no>:
>>>>> Eric Lilja <mindcoo...@gmail.com>:

>> Does it not work to annotate both service implementations
>> with @Designate(ocd = Config.class) (replace Config.class with your config
>> class)?

> Thanks for the tip! I will try!

Hm... this is different to the way Paul and JB suggested...?

I picked the way I interpreted Paul's and JB's suggestion first because
that was most similar to the way I've created config for @Components
before (and I've never created a Config class, I've always used a Map).

But @Designate is different. Then you do need to create a Config class.

I have to think about this!


Reply via email to