Uploaded image for project: 'DeltaSpike'
  1. DeltaSpike
  2. DELTASPIKE-1316

add dynamic annotations feature, configurable via config

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.8.1
    • 1.8.2
    • Core
    • None

    Description

      A long time ago I created a CDI Extension which can dynamically add annotations to classes identified via a regular expression.

      The Extension is called InterDyn (Interceptor Dynamics) and is hosted at github.

      https://github.com/struberg/InterDyn

       

      I'm the sole originary author, so I have all the IP.

      The project actually consists of two parts: InterDyn for dynamic interceptors and InvoMon, an invocation monitor interceptor. Kind of small man profiler.

      The InterDyn part is actually not restricted to add interceptor annotations, but really could be anything. But adding interceptors obviously makes the most sense. This should go into ds-core-impl. It doesn't even need any api changes.

       

      The 2nd part (the performance InvocationMonitor. Might become either part of core, or a separate module.

       

       

      Attachments

        Activity

          Commit 2c185bd5f02ea842b9d2f4628a7204c0453eec0d in deltaspike's branch refs/heads/master from struberg
          [ https://git-wip-us.apache.org/repos/asf?p=deltaspike.git;h=2c185bd ]

          DELTASPIKE-1316 add InterDynExtension

          this allows to configurably add annotations to classes
          identified via a regexp.

          jira-bot ASF subversion and git services added a comment - Commit 2c185bd5f02ea842b9d2f4628a7204c0453eec0d in deltaspike's branch refs/heads/master from struberg [ https://git-wip-us.apache.org/repos/asf?p=deltaspike.git;h=2c185bd ] DELTASPIKE-1316 add InterDynExtension this allows to configurably add annotations to classes identified via a regexp.

          Commit 8cc2a7f6853c32e49d7aa93176b667502ce74f7c in deltaspike's branch refs/heads/master from struberg
          [ https://git-wip-us.apache.org/repos/asf?p=deltaspike.git;h=8cc2a7f ]

          DELTASPIKE-1316 skip interdyn with empty match or class config

          jira-bot ASF subversion and git services added a comment - Commit 8cc2a7f6853c32e49d7aa93176b667502ce74f7c in deltaspike's branch refs/heads/master from struberg [ https://git-wip-us.apache.org/repos/asf?p=deltaspike.git;h=8cc2a7f ] DELTASPIKE-1316 skip interdyn with empty match or class config

          Commit 9423d7466d9507bc243ca3e7bea5a97986bd3bb6 in deltaspike's branch refs/heads/master from struberg
          [ https://git-wip-us.apache.org/repos/asf?p=deltaspike.git;h=9423d74 ]

          DELTASPIKE-1316 add @InvocationMonitored

          wip, still misses tests

          jira-bot ASF subversion and git services added a comment - Commit 9423d7466d9507bc243ca3e7bea5a97986bd3bb6 in deltaspike's branch refs/heads/master from struberg [ https://git-wip-us.apache.org/repos/asf?p=deltaspike.git;h=9423d74 ] DELTASPIKE-1316 add @InvocationMonitored wip, still misses tests

          Commit 0a914ba3cd05f9a74ce19c7843f56445fa2a932c in deltaspike's branch refs/heads/master from struberg
          [ https://git-wip-us.apache.org/repos/asf?p=deltaspike.git;h=0a914ba ]

          DELTASPIKE-1316 activate InterDynExtension

          jira-bot ASF subversion and git services added a comment - Commit 0a914ba3cd05f9a74ce19c7843f56445fa2a932c in deltaspike's branch refs/heads/master from struberg [ https://git-wip-us.apache.org/repos/asf?p=deltaspike.git;h=0a914ba ] DELTASPIKE-1316 activate InterDynExtension

          Commit 3734100febf7895923028a5ef836027eed2015c0 in deltaspike's branch refs/heads/master from struberg
          [ https://git-wip-us.apache.org/repos/asf?p=deltaspike.git;h=3734100 ]

          DELTASPIKE-1316 add unit test and enable interceptor

          jira-bot ASF subversion and git services added a comment - Commit 3734100febf7895923028a5ef836027eed2015c0 in deltaspike's branch refs/heads/master from struberg [ https://git-wip-us.apache.org/repos/asf?p=deltaspike.git;h=3734100 ] DELTASPIKE-1316 add unit test and enable interceptor
          johndament John D. Ament added a comment -

          Since this is an external code import, don't forget you must submit IP Clearance.

          johndament John D. Ament added a comment - Since this is an external code import, don't forget you must submit IP Clearance.
          struberg Mark Struberg added a comment -

          yes, thanks for the reminder. Did that just now.

          struberg Mark Struberg added a comment - yes, thanks for the reminder. Did that just now.

          Commit 1f19c0e210dc3d22c5429b09985b2d6deb9f3340 in deltaspike's branch refs/heads/master from struberg
          [ https://git-wip-us.apache.org/repos/asf?p=deltaspike.git;h=1f19c0e ]

          DELTASPIKE-1316 skip non-proxyable classes from being annotated.

          jira-bot ASF subversion and git services added a comment - Commit 1f19c0e210dc3d22c5429b09985b2d6deb9f3340 in deltaspike's branch refs/heads/master from struberg [ https://git-wip-us.apache.org/repos/asf?p=deltaspike.git;h=1f19c0e ] DELTASPIKE-1316 skip non-proxyable classes from being annotated.

          Commit 1c3a16be161eb2e994df5454f7de3335c3ca1246 in deltaspike's branch refs/heads/master from struberg
          [ https://git-wip-us.apache.org/repos/asf?p=deltaspike.git;h=1c3a16b ]

          DELTASPIKE-1316 only perform the proxaable check for interceptor annotations

          jira-bot ASF subversion and git services added a comment - Commit 1c3a16be161eb2e994df5454f7de3335c3ca1246 in deltaspike's branch refs/heads/master from struberg [ https://git-wip-us.apache.org/repos/asf?p=deltaspike.git;h=1c3a16b ] DELTASPIKE-1316 only perform the proxaable check for interceptor annotations

          Commit f06a78939a6c448717856db21c8a33565d450402 in deltaspike's branch refs/heads/master from struberg
          [ https://git-wip-us.apache.org/repos/asf?p=deltaspike.git;h=f06a789 ]

          DELTASPIKE-1316 fix broken test on Wildfly9

          jira-bot ASF subversion and git services added a comment - Commit f06a78939a6c448717856db21c8a33565d450402 in deltaspike's branch refs/heads/master from struberg [ https://git-wip-us.apache.org/repos/asf?p=deltaspike.git;h=f06a789 ] DELTASPIKE-1316 fix broken test on Wildfly9

          People

            struberg Mark Struberg
            struberg Mark Struberg
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: