Uploaded image for project: 'EJB 3.0'
  1. EJB 3.0
  2. EJBTHREE-2157

no-interface view should be type-compatible with the bean type

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • depchain-1.0.0-alpha-2
    • nointerface
    • None

      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)

            jaikiran Jaikiran Pai (Inactive)
            jaikiran Jaikiran Pai (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: