Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-3889

Excluding run-time visible annotations from custom handler processing

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • None
    • iPOJO
    • None

    Description

      Annotations those put to ipojo components along with @Component annotation are treated as custom handler annotations. This make it impossible to put annotations to components for other purposes.

      There are plenty of codes depend on reading run-time visible annotations at run-time. Due to current behavior of annotation processing we're lefting out those codes.

      Besides there is no point in making handler annotation runtime visible, since handler itself will already see those annotation in generated metadata. Also reading handler annotation's attributes at run-time is clear design inefficiency and does not worth to left out all existing codes depend on runtime visible annotations.

      Lefting out annotations with runtime retention policy at handler metadata generation will fix all those issues above.

      This change won't affect current IPojo code and any custom handler implementation I know of, though it'll improve the component's capability to engage with other 3th party codes mentioned above.

      Attachments

        Issue Links

          Activity

            People

              ggezer Göktürk Gezer
              ggezer Göktürk Gezer
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: