[webbeans-issues] [JBoss JIRA] Created: (WBRI-205) Non-business producer methods in a Session bean do not throw a DefinitionException on deployment

Shane Bryzak (JIRA) jira-events at lists.jboss.org
Tue Mar 24 04:39:22 EDT 2009


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

        



More information about the weld-issues mailing list