[
https://issues.apache.org/jira/browse/GERONIMO-4936?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rex Wang closed GERONIMO-4936.
------------------------------
Assignee: Rex Wang (was: Rick McGuire)
fixed, so close it.
private void configurationRunning(AbstractName name) {
try {
Configuration config = (Configuration)kernel.getGBean(name);
bundleMap.put(name, config.getBundle());
} catch (GBeanNotFoundException gnfe) {
log.warn("Could not retrieve GBean for artifact: " +
name.toString(), gnfe);
}
}
> OpenJPA2 plugin needs to replace use of
> Configuration.getConfigurationClassLoader()
> -----------------------------------------------------------------------------------
>
> Key: GERONIMO-4936
> URL: https://issues.apache.org/jira/browse/GERONIMO-4936
> Project: Geronimo
> Issue Type: Sub-task
> Security Level: public(Regular issues)
> Components: osgi
> Affects Versions: 3.0
> Reporter: Donald Woods
> Assignee: Rex Wang
> Fix For: 3.0
>
>
> 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
> {code}
> 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);
> }
> }
> {code}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira