glassfish
  1. glassfish
  2. GLASSFISH-19310

Ensure methods declared on Object class are not exposed as business methods of the no-interface view

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 4.0_b62_ms6
    • Fix Version/s: 4.1
    • Component/s: ejb_container
    • Labels:
      None

      Description

      3.4.4 Session Bean's No-Interface View: Only public methods of the bean class (and any superclasses, except methods declared on the java.lang.Object class) may be invoked through the no-interface view.

      GF already filters methods declared in Object (EjbOptionalIntfGenerator), this a tracker bug to investigate/fix any issues with the support.

        Activity

        Hide
        marina vatkina added a comment -

        equals (and hashCode) for the no-interface view must follow the rules defined in EJB 3.2 (Core) spec, section 3.4.7 Session Object Identity. Currently they use Object.equals and (even worse) allow bean developer to override it (that latter case must result in a warning).

        Show
        marina vatkina added a comment - equals (and hashCode) for the no-interface view must follow the rules defined in EJB 3.2 (Core) spec, section 3.4.7 Session Object Identity. Currently they use Object.equals and (even worse) allow bean developer to override it (that latter case must result in a warning).
        Hide
        Srini added a comment -

        Support exists in GF already, convert to a tracker bug

        Show
        Srini added a comment - Support exists in GF already, convert to a tracker bug

          People

          • Assignee:
            Srini
            Reporter:
            marina vatkina
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: