polygene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Niclas Hedhman (JIRA)" <j...@apache.org>
Subject [jira] [Created] (POLYGENE-288) Make all Runtime hooks generic
Date Tue, 26 Dec 2017 02:08:00 GMT
Niclas Hedhman created POLYGENE-288:

             Summary: Make all Runtime hooks generic
                 Key: POLYGENE-288
                 URL: https://issues.apache.org/jira/browse/POLYGENE-288
             Project: Polygene
          Issue Type: New Feature
            Reporter: Niclas Hedhman

We have a huge set of places where a hook is executed outside the Core Runtime. We are detecting
some anomalies and we have for a long time struggled with getting the semantics correct for
Initializable, Lifecycle and Activation.

I want to suggest that we identify ALL possible hooks in existence and design mechanism to
easily add a new implementation of a hook. In many cases, we have succeeded in this by extracting
Runtime parts out to become Composites, which are easily replaced. And possibly a lot of this
work is to make those composite more extension-friendly, by breaking out the 'hook' as a method
call that can be intercepted or replaced. This may or may not be enough to cover all (or at
least majority of cases).

I suggest that each HOOK is created as an independent JIRA issue, that has a "is a child of"
dependency back to this issue.

This message was sent by Atlassian JIRA

View raw message