Author: richard.opalka(a)jboss.com
Date: 2008-02-11 11:17:14 -0500 (Mon, 11 Feb 2008)
New Revision: 5656
Modified:
framework/trunk/src/main/java/org/jboss/wsf/framework/deployment/DefaultEndpoint.java
Log:
rollback
Modified:
framework/trunk/src/main/java/org/jboss/wsf/framework/deployment/DefaultEndpoint.java
===================================================================
---
framework/trunk/src/main/java/org/jboss/wsf/framework/deployment/DefaultEndpoint.java 2008-02-11
15:45:58 UTC (rev 5655)
+++
framework/trunk/src/main/java/org/jboss/wsf/framework/deployment/DefaultEndpoint.java 2008-02-11
16:17:14 UTC (rev 5656)
@@ -106,6 +106,12 @@
ClassLoader classLoader = service.getDeployment().getRuntimeClassLoader();
if (classLoader == null)
+ {
+ // TODO: IMO this is an exception
+ classLoader = service.getDeployment().getInitialClassLoader();
+ }
+
+ if (classLoader == null)
throw new IllegalStateException("Deployment classloader not set");
Class<?> beanClass;
Show replies by date