Uploaded image for project: 'JDO'
  1. JDO
  2. JDO-591

Enhancer Invocation API

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • JDO 3 (3.0)
    • api
    • None

    Description

      Having a standard interface to invoke the enhancer makes a lot of sense so we can have interchangeability of enhancers (for implementations that support BinaryCompatibility).

      A start point (for discussions) could be
      java -cp classpath

      {enhancer-class}

      [options] [jdo-files] [class-files]
      where options can be
      -persistenceUnit persistence-unit-name : Name of a "persistence-unit" to enhance the classes for
      -d target-dir-name : Write the enhanced classes to the specified directory
      -checkonly : Just check the classes for enhancement status
      -v : verbose output

      This then allows enhancement of the specified classes, or the classes defined by the specified JDO files, or the classes defined by the specified persistence-unit.

      What other control would people like to see ?

      Attachments

        1. jdoenhancer-5.patch
          12 kB
          Andy Jefferson

        Issue Links

          Activity

            People

              andyj Andy Jefferson
              andyj Andy Jefferson
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: