In my spring context I am creating a service bean and a proxy for this service bean (explicitly). Both implement the same interface.
Can I ensure that autowiring cannot inject the target bean?
I would like to be able to use the target service with the @Resource or @Qualifier annotations, but when autowiring it should always be the proxy.
Any ideas?