Non-business producer methods in a Session bean do not throw a DefinitionException on
deployment
------------------------------------------------------------------------------------------------
Key: WBRI-205
URL:
https://jira.jboss.org/jira/browse/WBRI-205
Project: Web Beans
Issue Type: Bug
Affects Versions: 1.0.0.BETA1
Reporter: Shane Bryzak
Section 3.4.2 of the spec states:
"If a non-static method of a session bean class is annotated @Produces, and the
method is not a business method of the EJB,
a DefinitionException is thrown by the container at deployment time."
Test
org.jboss.jsr299.tck.tests.implementation.producer.method.enterprise.nonbusiness.ProducerMethodNotBusinessMethodTest()
is successfully deploying without an exception being raised.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira