Closed glassfishrobot closed 11 years ago
Reported by mvatkina
mvatkina said: Changed "no-interface client view representing all public methods of the bean class" to "no-interface client view representing all non-static public methods of the bean class" throughout the document.
Changed rules as follow: 4.9.8 Session Bean's No-Interface View
5.6.5 Message-Driven Bean with No-Methods Listener Interface
I did not add a requirement to restrict non-public method access for the MDBs with no-methods listener interface
mvatkina said: The 2nd rule should be
"Only private methods of the bean class and any superclasses except java.lang.Object may be declared final."
mvatkina said: Fixed in rev 59
Was assigned to mvatkina
This issue was imported from java.net JIRA EJB_SPEC-102
Marked as fixed on Monday, April 8th 2013, 1:14:25 pm
See this interesting discussion: http://java.net/projects/ejb-spec/lists/jsr345-experts/archive/2013-03/message/63
This is the current proposal (similar for the no-methods message listener interface MDBs):
(a) "All non-static public methods of the bean class and of any superclasses except java.lang.Object[ftn] are exposed as business methods."
(b) "Business methods exposed through the no-interface view must not be declared final."
ftn: If toString method is overridden in a subclass, it is exposed as a business method.
Affected Versions
[3.2]