[GLASSFISH-19310] Ensure methods declared on Object class are not exposed as business methods of the no-interface view Created: 09/Nov/12 Updated: 19/Sep/14
|Remaining Estimate:||Not Specified|
|Time Spent:||Not Specified|
|Original Estimate:||Not Specified|
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.
|Comment by Srini [ 18/Nov/12 ]|
Support exists in GF already, convert to a tracker bug
|Comment by marina vatkina [ 20/Nov/12 ]|
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).