Uploaded image for project: 'CDI Specification Issues'
  1. CDI Specification Issues
  2. CDI-571

Producer and Disposer methods as remote business methods

    XMLWordPrintable

Details

    • Clarification
    • Resolution: Done
    • Major
    • 2.0 .Final
    • 1.2.Final, 2.0-EDR1
    • None
    • None

    Description

      Currently it's possible to declare remote business method as a Producer or Disposer 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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            tremes1@redhat.com Tomas Remes
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: