I would like to port Spring annotations to The OSGI world and searching for some advices on this.
How are annotation scanned in Java-EE/Spring? I think it's by some weaving voodoo (aspectjweaver, asm?) or only by reflexion & classpath scanning.
Which Spring class is responsible of annotation resolution? Is it customizable? Are there any other class that would require the weaving/classpath scanning feature (pre-post processing...)?
OSGI R4.3 specify a weaving spec in its world, do you think it will be a pain to adapt Spring with this? Any clue? I think it'll be far simpler than totally rewriting spring-dm modules but I maybe wrong...
The question can be used the same way with JSR-330 but I already know a project that will port it (pax-cdi).
Thank you in advance.
Charlie