All my business services use the custom @BusinessService annotation, that is defined as :
This works fine for component-scan to detect my beans. I'd like now to user <tx:annotation-driven>, so I've added a @Transactional to this annotation definition ... but this doesn't create the expected Proxies.
public @interface BusinessService
* @return the component name, if any
String value() default "";
I need to define some <aop:config> to apply transactional advice to my business services.
Why does this pseudo-inheritence (annotation have no "extends" support) work for @Component, but not for @Transactional ?