[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
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:
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.
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
More information about the cdi-dev