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

jaikiran pai (JIRA) jira-events at lists.jboss.org
Mon Aug 30 07:04:11 EDT 2010


    [ https://jira.jboss.org/browse/EJBTHREE-2157?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12547611#action_12547611 ] 

jaikiran pai commented on EJBTHREE-2157:
----------------------------------------

This appears to a be false alarm. I added a testcase to the nointerface component which shows that the nointerface view works as expected.


> 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