Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Won't Fix
-
1.0.2
-
None
-
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.