[jboss-svn-commits] JBL Code SVN: r5741 - labs/jbossesb/trunk/product/core/common/src/org/jboss/soa/esb/notification
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Fri Aug 11 06:21:40 EDT 2006
Author: estebanschifman
Date: 2006-08-11 06:21:38 -0400 (Fri, 11 Aug 2006)
New Revision: 5741
Modified:
labs/jbossesb/trunk/product/core/common/src/org/jboss/soa/esb/notification/NotificationTarget.java
Log:
Try full classname after prepending default package
Modified: labs/jbossesb/trunk/product/core/common/src/org/jboss/soa/esb/notification/NotificationTarget.java
===================================================================
--- labs/jbossesb/trunk/product/core/common/src/org/jboss/soa/esb/notification/NotificationTarget.java 2006-08-11 09:57:28 UTC (rev 5740)
+++ labs/jbossesb/trunk/product/core/common/src/org/jboss/soa/esb/notification/NotificationTarget.java 2006-08-11 10:21:38 UTC (rev 5741)
@@ -83,7 +83,10 @@
+"' attribute in parameters");
Class oCls = null;
try { oCls = Class.forName(NOTIF_PFX+"."+sClass); }
- catch (Exception e) {}
+ catch (Exception e)
+ { try { oCls = Class.forName(sClass); }
+ catch (Exception e1) {/* oCls will be null */}
+ }
if (null==oCls)
throw new Exception("Invalid class <"+sClass+">, or missing library");
More information about the jboss-svn-commits
mailing list