- 
        1. Re: Final feature for AOP/MC integrationkabirkhan Apr 10, 2006 6:25 PM (in response to adrian.brock)Is MC for Java 5 only? i.e. am I allowed to call something like the following from the AOPClassAdapter on the annotation proxies stored in the metadata repository? Object annotation = //get from repository Class[] interfaces = annotation.getInterfaces(); for (int i = 0 ; i < interfaces.length ; i++) { Dependency dep = interfaces[ i ].getAnnotation(Dependency.class); }
 Or should I access this via the type info stuff?
- 
        2. Re: Final feature for AOP/MC integrationkabirkhan Apr 10, 2006 6:31 PM (in response to adrian.brock)And if this is not for > JDK 5, how do we 
 a) Get hold of the annotation types dependencies
 b) set them up
- 
        3. Re: Final feature for AOP/MC integrationadrian.brock Apr 10, 2006 6:39 PM (in response to adrian.brock)It is upto you. 
 We can backport what we like to JBoss4/AOP1.3
 For the rest:
 http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossRetro
 which I'd like to unify with the AOP stuff.
- 
        4. Re: Final feature for AOP/MC integrationstarksm64 Apr 10, 2006 6:42 PM (in response to adrian.brock)I think we need to look at allowing jdk5 constructs with runtime compatibility with jdk1.4.x using jbossretro. It has a mapping for many of the jdk5 specific Class additions. The only currently missing capabilities I know of are the call context related methods. We just need to validate this approach works. 
- 
        5. Re: Final feature for AOP/MC integrationkabirkhan Apr 10, 2006 6:51 PM (in response to adrian.brock)I've got it working, but will hold off commiting until I know I won't break the build 
- 
        6. Re: Final feature for AOP/MC integrationkabirkhan Apr 11, 2006 7:06 AM (in response to adrian.brock)I've tried to get this to work with real annotations as well: @Test @TestAnnotationDependency(data="Dependency") public class AnnotatedSimpleBeanImpl extends SimpleBeanImpl { }... <bean name="AnnotatedIntercepted" class="org.jboss.test.microcontainer.support.AnnotatedSimpleBeanImpl"/> ... 
 However, the annotations don't get populated? In AOPClassAdapter:AnnotationValue[] annotations = classInfo.getAnnotations(); 
 annotations is of zero length
- 
        7. Re: Final feature for AOP/MC integrationadrian.brock Apr 11, 2006 7:17 AM (in response to adrian.brock)Like I said, this whole thing needs implementing. 
 This includes annotations coming from aop metadata or
 the metadata repository.
- 
        8. Re: Final feature for AOP/MC integrationkabirkhan Apr 11, 2006 9:58 AM (in response to adrian.brock)I can certainly have the AOPClassAdapter do this. But I think you sound like you want the ClassInfo stuff to do this "transparently"? 
- 
        9. Re: Final feature for AOP/MC integrationkabirkhan Apr 12, 2006 10:53 AM (in response to adrian.brock)This feature has now been implemented. I am using the AOPClassAdapter for now. 
 It supports
 Class annotations via xml
 Real annotations on class
 Property annotations via xml
 Real annotations on methods
- 
        10. Re: Final feature for AOP/MC integrationkabirkhan Apr 12, 2006 10:54 AM (in response to adrian.brock)"kabir.khan@jboss.com" wrote: 
 I am using the AOPClassAdapter for now.
 = I did not make any changes to ClassInfo
 
     
    