[jboss-jira] [JBoss JIRA] Commented: (EJBTHREE-1123) Determining the messagingType of a MDB considers too many interfaces

Andrew Lee Rubinger (JIRA) jira-events at lists.jboss.org
Wed Nov 21 01:19:18 EST 2007


    [ http://jira.jboss.com/jira/browse/EJBTHREE-1123?page=comments#action_12388557 ] 
            
Andrew Lee Rubinger commented on EJBTHREE-1123:
-----------------------------------------------

Restrict the "getInterfaces"-type methods in ProxyFactoryHelper to return a Set, not a List

> Determining the messagingType of a MDB considers too many interfaces
> --------------------------------------------------------------------
>
>                 Key: EJBTHREE-1123
>                 URL: http://jira.jboss.com/jira/browse/EJBTHREE-1123
>             Project: EJB 3.0
>          Issue Type: Bug
>            Reporter: Carlo de Wolf
>         Assigned To: Andrew Lee Rubinger
>            Priority: Blocker
>             Fix For: AS 5.0.0.Beta3
>
>
> For determining the messagingType only directly implemented interfaces should be considered, not inherited.
> java.lang.RuntimeException: Unable to choose messagingType interface for MDB CallbackBean from [interface javax.jms.MessageListener, interface javax.jms.MessageListener, interface com.sun.ts.tests.ejb30.common.callback.CallbackIF]
>         at org.jboss.ejb3.mdb.MDB.getMessagingType(MDB.java:77)
>         at org.jboss.ejb3.mdb.MDB.resolveBusinessInterfaces(MDB.java:116)
>         at org.jboss.ejb3.EJBContainer.instantiated(EJBContainer.java:1256)
>         at org.jboss.ejb3.Ejb3Deployment.deployElement(Ejb3Deployment.java:519)
>         ... 72 more

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list