Author: alessio.soldano(a)jboss.com
Date: 2011-10-17 13:15:15 -0400 (Mon, 17 Oct 2011)
New Revision: 15116
Modified:
stack/native/trunk/modules/core/src/main/java/org/jboss/ws/metadata/config/JBossWSConfigFactory.java
Log:
[JBWS-3369] Use native core module classloader for getting default native stack confs
instead of ASIL classloader
Modified:
stack/native/trunk/modules/core/src/main/java/org/jboss/ws/metadata/config/JBossWSConfigFactory.java
===================================================================
---
stack/native/trunk/modules/core/src/main/java/org/jboss/ws/metadata/config/JBossWSConfigFactory.java 2011-10-17
11:07:13 UTC (rev 15115)
+++
stack/native/trunk/modules/core/src/main/java/org/jboss/ws/metadata/config/JBossWSConfigFactory.java 2011-10-17
17:15:15 UTC (rev 15116)
@@ -72,9 +72,8 @@
private JBossWSConfigFactory(ClassLoader loader)
{
//use a delegate classloader: first try lookup using the provided classloader,
- //otherwise use server integration classloader which has the default configuration
- final ClassLoader cl =
ClassLoaderProvider.getDefaultProvider().getServerIntegrationClassLoader();
- this.loader = new DelegateClassLoader(cl, loader);
+ //otherwise use the native core module classloader (the default confs are there)
+ this.loader = new DelegateClassLoader(JBossWSConfigFactory.class.getClassLoader(),
loader);
}
/** Create a new instance of the factory
Show replies by date