I re-factored some of my JIRA plugins and move some core classes to the separate jar.
But now, when autowiring some interface (from that library), implemented in current plugin (and in other plugins too!) does beans from the current plugin are in priority?
So, for example, in my separate-lib.jar I have some interface A.
Then, while working on plugin, I add an implementation of A, let's call it B. And I know, that in other plugins I have (or would have) other implementations of an interface A.
For now, I suppose, that current plugin beans are in priority while autowiring. Is my guess right?