[jboss-jira] [JBoss JIRA] Created: (EJBTHREE-1062) Finding the default local business interface on a bean with a superclass that implements interfaces doesn't work

Carlo de Wolf (JIRA) jira-events at lists.jboss.org
Tue Oct 9 14:16:03 EDT 2007


Finding the default local business interface on a bean with a superclass that implements interfaces doesn't work
----------------------------------------------------------------------------------------------------------------

                 Key: EJBTHREE-1062
                 URL: http://jira.jboss.com/jira/browse/EJBTHREE-1062
             Project: EJB 3.0
          Issue Type: Bug
    Affects Versions: AS 4.2.2.GA
            Reporter: Carlo de Wolf


The following doesn't work:

@Stateless class MyBean extends SuperBean implements ExpectedLocalInterface {}

interface ExpectedLocalInterface {}

class SuperBean implements OtherInterface {}

interface OtherInterface {}

Based on the spec ExpectedLocalInterface is expected to become the local business interface.

EJB 3 4.6.6:
If bean class implements a single interface, that interface is assumed to be the busi-
ness interface of the bean. This business interface will be a local interface unless the
interface is designated as a remote business interface by use of the Remote annota-
tion on the bean class or interface or by means of the deployment descriptor.


-- 
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