We have a core Java application and different plugins for different clients. We are using Hk2 for dependency injection.
I would like to now is it possible to have a way of putting some @Named Qualifier names to properties files of plugins so I can just change the value of the property file to inject different class implementations for different clients.
What I mean is having @Named(key="plugins.impl.xplugin") rather than @Named("XPlugin").
This would help a lot to get rid of so much boilerplate code for plugins.