[jboss-cvs] jboss-seam/src/remoting/org/jboss/seam/remoting ...
Shane Bryzak
sbryzak at redhat.com
Sun Mar 11 04:54:23 EDT 2007
User: sbryzak2
Date: 07/03/11 04:54:23
Modified: src/remoting/org/jboss/seam/remoting
InterfaceGenerator.java
Log:
wrong interface selected
Revision Changes Path
1.2 +6 -5 jboss-seam/src/remoting/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/remoting/org/jboss/seam/remoting/InterfaceGenerator.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- InterfaceGenerator.java 27 Feb 2007 22:15:23 -0000 1.1
+++ InterfaceGenerator.java 11 Mar 2007 08:54:23 -0000 1.2
@@ -273,9 +273,10 @@
{
for (Class c : component.getBusinessInterfaces())
{
+ // Use the Local interface
if (c.isAnnotationPresent(EJB.LOCAL))
{
- type = component.getBusinessInterfaces().iterator().next();
+ type = c;
break;
}
}
More information about the jboss-cvs-commits
mailing list