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

Pete Muir (JIRA) jira-events at lists.jboss.org
Tue Mar 24 10:03:22 EDT 2009


     [ https://jira.jboss.org/jira/browse/WBRI-205?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pete Muir closed WBRI-205.
--------------------------

    Resolution: Done


> 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
>          Components: Producer beans
>    Affects Versions: 1.0.0.BETA1
>            Reporter: Shane Bryzak
>            Assignee: Pete Muir
>            Priority: Minor
>             Fix For: 1.0.0.PREVIEW
>
>
> 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