[jboss-jira] [JBoss JIRA] (WFLY-5296) public final methods should be allowed for Local and Remote Business Interface View
Andreas Liebscher (JIRA)
issues at jboss.org
Tue Sep 8 09:13:00 EDT 2015
Andreas Liebscher created WFLY-5296:
---------------------------------------
Summary: public final methods should be allowed for Local and Remote Business Interface View
Key: WFLY-5296
URL: https://issues.jboss.org/browse/WFLY-5296
Project: WildFly
Issue Type: Bug
Components: EE
Affects Versions: 9.0.1.Final
Reporter: Andreas Liebscher
The spec says:
Only public methods of the bean class (and any superclasses) may be invoked through the no-interface view. Attempted invocations of methods with any other access modifiers via the no-interface view reference must result in the javax.ejb.EJBException.
So it is not allowed to use public final methods when using no-interface view.
But WF-9.0.1-Final does also throw an exception when using local business interface view:
ERROR [org.jboss.as.ejb3.invocation] (default task-31) WFLYEJB0034: EJB Invocation failed on component XxxBean for method public abstract yyy: javax.ejb.EJBException: java.lang.IllegalStateException: WFLYEE0067: Method does not exist public final zzz
With WF-8.1.0-Final this was no problem!
What has been changed in WF-9?
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jboss-jira
mailing list