I was using Spring Autowire annotations in a class that I have to repackage outside my application and make framework agnostic. Consequently, I can no longer use Spring specific annotations. So instead, I was hoping to use JSR annotations instead.
For the most part, replacing @Autowired with @Inject works fine. However, I do have a case where I have an @Qualifier(<bean_name>) to help determine which bean definition is to be injected.
I've looked for docs as to what the equivalent is in JSR annotations, but cannot seem to find anything of value.
// System configuration
private Configuration configuration;
Does anyone know the equivalent way of writing this with JSR annotations instead?