Geronimo
  1. Geronimo
  2. GERONIMO-5068 JPA 2.0 enhancements
  3. GERONIMO-4936

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

    Details

    • Type: Sub-task Sub-task
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.0.0
    • Component/s: osgi
    • Security Level: public (Regular issues)
    • Labels:
      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);
               }
           }
      

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Rex Wang
            Reporter:
            Donald Woods
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development