[jboss-cvs] JBossAS SVN: r101204 - projects/ejb3/components/nointerface/trunk/impl/src/main/java/org/jboss/ejb3/nointerface/impl/view/factory.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Sat Feb 20 05:38:23 EST 2010


Author: jaikiran
Date: 2010-02-20 05:38:23 -0500 (Sat, 20 Feb 2010)
New Revision: 101204

Modified:
   projects/ejb3/components/nointerface/trunk/impl/src/main/java/org/jboss/ejb3/nointerface/impl/view/factory/JavassistNoInterfaceViewFactory.java
Log:
EJBTHREE-2023 Do not override the (public static) classloader provider of the javassist proxyfactory. Let the javassist proxyfactory impl get hold of the correct classloader (through it's internal getClassLoader0() method)

Modified: projects/ejb3/components/nointerface/trunk/impl/src/main/java/org/jboss/ejb3/nointerface/impl/view/factory/JavassistNoInterfaceViewFactory.java
===================================================================
--- projects/ejb3/components/nointerface/trunk/impl/src/main/java/org/jboss/ejb3/nointerface/impl/view/factory/JavassistNoInterfaceViewFactory.java	2010-02-20 10:33:11 UTC (rev 101203)
+++ projects/ejb3/components/nointerface/trunk/impl/src/main/java/org/jboss/ejb3/nointerface/impl/view/factory/JavassistNoInterfaceViewFactory.java	2010-02-20 10:38:23 UTC (rev 101204)
@@ -68,10 +68,6 @@
       }
 
       ProxyFactory javassistProxyFactory = new ProxyFactory();
-      // set the classloader provider on the factory so that it uses the bean class' classloader
-      // during proxy creation
-      ProxyFactory.classLoaderProvider = new NoInterfaceViewProxyFactoryClassLoaderProvider();
-
       // set the bean class for which we need a proxy
       javassistProxyFactory.setSuperclass(beanClass);
       // set a method filter so that we can filter out invocations on methods




More information about the jboss-cvs-commits mailing list