I am trying to use Spring Annotations in a custom component, but my beans with annotations are not found. I am define a service factory class in my component.xml wich extends com.adobe.idp.dsc.component.support.AbstractServiceInstanceFactory.
In the getBeanFactory method I create an org.springframework.context.annotation.AnnotationConfigApplicationContext and set the base package and scan. The problem is none of my bean are in the the returned bean factory. I have tried setting the classloader to the ServiceConfiguration classloader but that did not help either.