Uploaded image for project: 'Causeway'
  1. Causeway
  2. CAUSEWAY-651

Modifications to enable JRebel support

    XMLWordPrintableJSON

Details

    Description

      Make JDO PersistenceManagerFactory accessible so can be interacted with outside of Isis runtime

      Invalidate Isis spec cache by way of class (not just by object).

      ~~~
      need to be able to do similar with the DN metadata:

      http://www.datanucleus.org/servlet/jira/browse/NUCCORE-1104

      Assuming that there's auto-enhancement within the IDE, this means that JRebel picks up each class twice: once for the unenhanced class, then almost immediately for the enhanced class. Therefore, I think that all that may be required is to remove the ClassMetaData whenever an unenhanced class is reloaded DN's will lazily recreate metadata as required.

      An enhancement might be to do the enhancement within the JRebel plugin (and not in the IDE). This would require the enhancement is done in a separate classloader; it (obviously!) isn't allowed to reference the java.lang.Class being loaded within the plugin itself. As enhancement does cause this to occur, it must be namespaced off to a separate classloader.

      resources:

      Attachments

        Activity

          People

            danhaywood Daniel Keir Haywood
            danhaywood Daniel Keir Haywood
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: