10 Replies Latest reply on Apr 12, 2006 10:54 AM by Kabir Khan

    Final feature for AOP/MC integration

    Adrian Brock Master

      This should be the last feature for AOP/MC integration.

      The rest of the work will then be making sure all the tests work
      and the we turn the prototype into some real code. :-)

      The final test is:
      InterceptorWithAnnotationDependencyTestCase

      The basic idea is that if I do:

      @SecurityDomain("MyDomain")
      public class POJO {}
      


      Then "MyDomain" should act as a dependency because SecurityDomain
      has been annotated like this:
      @Dependency(name="domain")
      public @interface SecurityDomain
      {
       String domain();
      }
      


      This is currently failing for two reasons:

      1) There is no support for this obviously :-)
      2) The attributes of the annotations in the microcontainer overrides
      are not getting processed