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)