[jboss-cvs] JBossAS SVN: r69341 - trunk/ejb3/src/main/org/jboss/ejb3/mdb.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Fri Jan 25 05:30:26 EST 2008
Author: heiko.braun at jboss.com
Date: 2008-01-25 05:30:26 -0500 (Fri, 25 Jan 2008)
New Revision: 69341
Modified:
trunk/ejb3/src/main/org/jboss/ejb3/mdb/MDB.java
Log:
JBCTS-745: Rollback changes to MDB implementation. Use explicit listener interface instead
Modified: trunk/ejb3/src/main/org/jboss/ejb3/mdb/MDB.java
===================================================================
--- trunk/ejb3/src/main/org/jboss/ejb3/mdb/MDB.java 2008-01-25 06:00:37 UTC (rev 69340)
+++ trunk/ejb3/src/main/org/jboss/ejb3/mdb/MDB.java 2008-01-25 10:30:26 UTC (rev 69341)
@@ -73,7 +73,7 @@
messagingType = annotation.messageListenerInterface();
if (messagingType.getName().equals(Object.class.getName()))
{
- Set<Class<?>> businessInterfaces = ProxyFactoryHelper.getBusinessInterfaces(clazz,true);
+ Set<Class<?>> businessInterfaces = ProxyFactoryHelper.getBusinessInterfaces(clazz,false);
if (businessInterfaces.size() > 1 || businessInterfaces.size() == 0)
throw new RuntimeException("Unable to choose messagingType interface for MDB " + getEjbName() + " from " + businessInterfaces);
messagingType = businessInterfaces.iterator().next();
More information about the jboss-cvs-commits
mailing list