[jboss-cvs] jboss-seam/src/main/org/jboss/seam/remoting ...
Shane Bryzak
Shane_Bryzak at symantec.com
Tue Oct 10 23:09:07 EDT 2006
User: sbryzak2
Date: 06/10/10 23:09:07
Modified: src/main/org/jboss/seam/remoting InterfaceGenerator.java
Log:
Replaced class.forName() with Reflections.classForName()
Revision Changes Path
1.21 +3 -2 jboss-seam/src/main/org/jboss/seam/remoting/InterfaceGenerator.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: InterfaceGenerator.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/remoting/InterfaceGenerator.java,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -b -r1.20 -r1.21
--- InterfaceGenerator.java 23 Sep 2006 15:41:39 -0000 1.20
+++ InterfaceGenerator.java 11 Oct 2006 03:09:07 -0000 1.21
@@ -14,6 +14,7 @@
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
+import javax.ejb.Local;
import javax.faces.event.PhaseId;
import javax.servlet.ServletContext;
import javax.servlet.ServletException;
@@ -29,7 +30,7 @@
import org.jboss.seam.annotations.Name;
import org.jboss.seam.annotations.WebRemote;
import org.jboss.seam.contexts.Lifecycle;
-import javax.ejb.Local;
+import org.jboss.seam.util.Reflections;
/**
* Generates JavaScript interface code.
@@ -83,7 +84,7 @@
{
try
{
- Class c = Class.forName(componentNames[i]);
+ Class c = Reflections.classForName(componentNames[i]);
appendClassSource(response.getOutputStream(), c, types);
}
catch (ClassNotFoundException ex)
More information about the jboss-cvs-commits
mailing list