Uploaded image for project: 'DeltaSpike'
  1. DeltaSpike
  2. DELTASPIKE-1018

Automatic RequestScope activation for @MBean invocations

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Won't Fix
    • 1.0.2
    • None
    • Core
    • None

    Description

      When a @JmxManaged method is called (via jconsole for instance) on a CDI-Bean which has been registered as a MBean via @MBean annotation, the RequestScope is not active.
      It would be handy if RequestScope could be actived automatically, perhaps configurable via a new @MBean attribute and/or apache-deltaspike.properties.

      Workaround: Implement and register an Interceptor which actives/deactivates the scope via ContextControl around the method invocation.

      Attachments

        Activity

          People

            Unassigned Unassigned
            famod Falko Modler
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: