2 Replies Latest reply on Aug 30, 2006 2:49 PM by kabirkhan

    Injection via annotation definition

    alesj

      Where to inspect defined bean (or possible class browsing as for ejb3 entities (search for @Entity)?) - in DescribeAction?


      2) Creating BeanMetaData from annotations rather than xml.

      ...

      You should not modify the BeanMetaData inside the Kernel.
      This is a representation of what the user wants.


      Adding new MetaData or not?

      How to do this in more general way - for all possible later annotations.
      Should I give it a shot, and we'll fix it as we go along?

        • 1. Re: Injection via annotation definition

          I don't know, I haven't thought about it.

          Kabir was the one working on the annotations integration for the
          AOP/Integration,

          I also asked him to make it work without AOP/Javassist
          (although you would lose the default value), but I don't know
          whether he did it?

          So I'd suggest pinging Kabir.

          • 2. Re: Injection via annotation definition
            kabirkhan

             

            "adrian@jboss.org" wrote:

            Kabir was the one working on the annotations integration for the
            AOP/Integration,

            I also asked him to make it work without AOP/Javassist
            (although you would lose the default value), but I don't know
            whether he did it?


            I did, the tests live in the container module under

            For the annotation creator:
            org.jboss.test.annotation.factory.test

            For annotations from classinfo:
            org.jboss.test.classinfo.test.IntrospectionAnnotatedClassInfoTestCase.java
            org.jboss.test.classinfo.test.JavassistAnnotatedClassInfoTestCase.java