[jboss-jira] [JBoss JIRA] Resolved: (EJBTHREE-2157) no-interface view should be type-compatible with the bean type

jaikiran pai (JIRA) jira-events at lists.jboss.org
Thu Sep 2 03:29:52 EDT 2010


     [ https://jira.jboss.org/browse/EJBTHREE-2157?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

jaikiran pai resolved EJBTHREE-2157.
------------------------------------

    Resolution: Rejected


> no-interface view should be type-compatible with the bean type
> --------------------------------------------------------------
>
>                 Key: EJBTHREE-2157
>                 URL: https://jira.jboss.org/browse/EJBTHREE-2157
>             Project: EJB 3.0
>          Issue Type: Bug
>          Components: nointerface
>    Affects Versions: depchain-1.0.0-alpha-2
>            Reporter: jaikiran pai
>            Assignee: jaikiran pai
>
> Consider this:
> class Base
> {
> ...
> }
> @Stateless
> @LocalBean
> class Bean extends Base implements Blah
> {..
> }
> This bean exposes a no-interface view. When a client accesses this no-interface view reference:
> Object nointerfaceView = ctx.lookup("Bean/no-interface");
> The returned instead should be castable to Base, Blah and Bean. Currently it's only castable to the bean class type (i.e. Bean)

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

        


More information about the jboss-jira mailing list