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

Dimitris Andreadis (JIRA) jira-events at lists.jboss.org
Tue Oct 23 13:06:01 EDT 2007


    [ http://jira.jboss.com/jira/browse/EJBTHREE-1062?page=comments#action_12383957 ] 
            
Dimitris Andreadis commented on EJBTHREE-1062:
----------------------------------------------

Is there any intention of fixing this in AS 4.2.3 ?

> 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
>         Assigned To: Andrew Rubinger
>            Priority: Critical
>             Fix For: AS 5.0.0.Beta3
>
>
> 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