Beehive
  1. Beehive
  2. BEEHIVE-1131

Add support for reflection based annotation processing via the ReflectionWsmServiceFactory

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Web Services (181)
    • Labels:
      None

      Description

      complete ReflectionWsmServiceFactory to provide reflection based annotation processing.

      1. reflection2.patch
        21 kB
        Rajith Attapattu
      2. reflection-19-07-2006.patch
        33 kB
        Rajith Attapattu
      3. reflection.patch
        20 kB
        Rajith Attapattu

        Activity

        Hide
        Rajith Attapattu added a comment -

        Hi Eddie/Dims

        I have noted a couple of observations below that I thought worth mentioning

        1. There is a lot of duplicate code btw MirrorWsmServiceFactory and ReflectionWsmServiceFactory

        2. Annogen has a unified approach to handle both reflection and mirror based annotation processing.
        see http://annogen.codehaus.org/annogen-api/index.html for
        ReflectAnnoViewer and MirrorAnnoViewer.

        3. It would be nice if we can share some code btw the approaches, so some sort of refactoring is good down the line

        Show
        Rajith Attapattu added a comment - Hi Eddie/Dims I have noted a couple of observations below that I thought worth mentioning 1. There is a lot of duplicate code btw MirrorWsmServiceFactory and ReflectionWsmServiceFactory 2. Annogen has a unified approach to handle both reflection and mirror based annotation processing. see http://annogen.codehaus.org/annogen-api/index.html for ReflectAnnoViewer and MirrorAnnoViewer. 3. It would be nice if we can share some code btw the approaches, so some sort of refactoring is good down the line
        Hide
        Rajith Attapattu added a comment -

        Eddie,

        Previously I forgot to add the code the WsmServiceStyleFactory

        So I recreated a patch with it.

        Let me know how it goes. Btw I managed to find some time to get it integrated with axis2.
        I will let you know the details as soon as I have some tests done.

        Rajith

        Show
        Rajith Attapattu added a comment - Eddie, Previously I forgot to add the code the WsmServiceStyleFactory So I recreated a patch with it. Let me know how it goes. Btw I managed to find some time to get it integrated with axis2. I will let you know the details as soon as I have some tests done. Rajith
        Hide
        Rajith Attapattu added a comment -

        Eddie,

        This contains the following changes. If you apply the latest path it will cover everything.

        1. added the annogen annotation to spec files (we are still not sure if this is legal)

        2. The annogen compilation task is commented due to the problem with inner classes
        (check my previous email about this)

        3. Other changes and bug fixes.

        Regards,

        Rajith

        Show
        Rajith Attapattu added a comment - Eddie, This contains the following changes. If you apply the latest path it will cover everything. 1. added the annogen annotation to spec files (we are still not sure if this is legal) 2. The annogen compilation task is commented due to the problem with inner classes (check my previous email about this) 3. Other changes and bug fixes. Regards, Rajith

          People

          • Assignee:
            Eddie O'Neil
            Reporter:
            Rajith Attapattu
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Development