[cdi-dev] [JBoss JIRA] (CDI-217) JMX support in CDI managed environments

Pete Muir (JIRA) jira-events at lists.jboss.org
Fri Aug 24 18:18:15 EDT 2012


    [ https://issues.jboss.org/browse/CDI-217?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12713673#comment-12713673 ] 

Pete Muir commented on CDI-217:
-------------------------------

Allowing injection inside MBeans seems like an obviously good thing to do.

Anything else?
                
> JMX support in CDI managed environments
> ---------------------------------------
>
>                 Key: CDI-217
>                 URL: https://issues.jboss.org/browse/CDI-217
>             Project: CDI Specification Issues
>          Issue Type: Feature Request
>          Components: Java SE Integration
>    Affects Versions: 1.0
>            Reporter: Tim de Buhr
>             Fix For: 1.1 (Proposed)
>
>
> get support of @Inject by using MBeanServer managed MBean/MXBean objects.
> Example:
> To get the number of all processed jobs just use @Produces at a method like getTotalCount() and use @Inject in the MBean implementation to get the count value

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the cdi-dev mailing list