[seam-commits] Seam SVN: r8615 - trunk/src/main/org/jboss/seam.
seam-commits at lists.jboss.org
seam-commits at lists.jboss.org
Wed Aug 6 14:21:44 EDT 2008
Author: pete.muir at jboss.org
Date: 2008-08-06 14:21:44 -0400 (Wed, 06 Aug 2008)
New Revision: 8615
Modified:
trunk/src/main/org/jboss/seam/Component.java
Log:
JBSEAM-2845
Modified: trunk/src/main/org/jboss/seam/Component.java
===================================================================
--- trunk/src/main/org/jboss/seam/Component.java 2008-08-06 17:47:50 UTC (rev 8614)
+++ trunk/src/main/org/jboss/seam/Component.java 2008-08-06 18:21:44 UTC (rev 8615)
@@ -2391,7 +2391,14 @@
interfaces.add(Instance.class);
interfaces.add(Proxy.class);
- ProxyFactory factory = new ProxyFactory();
+ ProxyFactory factory = new ProxyFactory()
+ {
+ @Override
+ protected ClassLoader getClassLoader()
+ {
+ return Seam.class.getClassLoader();
+ }
+ };
factory.setSuperclass( type==JAVA_BEAN ? beanClass : Object.class );
factory.setInterfaces( interfaces.toArray( new Class[0] ) );
factory.setFilter(FINALIZE_FILTER);
More information about the seam-commits
mailing list