Uploaded image for project: 'Geronimo'
  1. Geronimo
  2. GERONIMO-5068 JPA 2.0 enhancements
  3. GERONIMO-4936

OpenJPA2 plugin needs to replace use of Configuration.getConfigurationClassLoader()

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0.0
    • 3.0.0
    • osgi
    • Security Level: public (Regular issues)
    • None

    Description

      As pointed out by the TODO added in r830529 by Rick McGuire -

      plugins/openjpa2/geronimo-openjpa2/src/main/java/org/apache/geronimo/openjpa/ConfigurationMonitorGBean.java

           private void configurationRunning(AbstractName name) {
               try {
                   Configuration config = (Configuration)kernel.getGBean(name);
      -            classLoaderMap.put(name, config.getConfigurationClassLoader());
      +// TODO:  This needs to be resolved as to what class loader should be registered
      +//          classLoaderMap.put(name, config.getConfigurationClassLoader());
               } catch (GBeanNotFoundException gnfe) {
                   log.warn("Could not retrieve GBean for artifact: " + name.toString(), gnfe);
               }
           }
      

      Attachments

        Activity

          People

            rwonly Lei Wang
            drwoods Donald Woods
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: