[cdi-dev] [JBoss JIRA] (CDI-571) Producer and Disposer methods as remote business methods

Tomas Remes (JIRA) issues at jboss.org
Wed Nov 11 02:23:00 EST 2015


Tomas Remes created CDI-571:
-------------------------------

             Summary: Producer and Disposer methods as remote business methods
                 Key: CDI-571
                 URL: https://issues.jboss.org/browse/CDI-571
             Project: CDI Specification Issues
          Issue Type: Clarification
    Affects Versions: 2.0-EDR1, 1.2.Final
            Reporter: Tomas Remes


Currently it's possible to declare Producer and Disposal for remote business method:
{quote}
if a non-static method of a session bean class is annotated @Produces, and the method is not a business method of the session bean, the container automatically detects the problem and treats it as a definition error.
{quote}
The question is whether it makes sense. IMO and with regarding to https://issues.jboss.org/browse/CDI-545 It doesn't.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the cdi-dev mailing list