[jboss-jira] [JBoss JIRA] Created: (JBMICROCONT-109) Support direct registration of beans without a StandardMBean wrapper

Brian Stansberry (JIRA) jira-events at jboss.com
Tue Nov 14 14:12:41 EST 2006


Support direct registration of beans without a StandardMBean wrapper
--------------------------------------------------------------------

                 Key: JBMICROCONT-109
                 URL: http://jira.jboss.com/jira/browse/JBMICROCONT-109
             Project: JBoss MicroContainer
          Issue Type: Sub-task
          Components: General
            Reporter: Brian Stansberry
         Assigned To: Brian Stansberry
             Fix For: JBossMC_2_0_0 Beta


If a bean is already a valid MBean, it should be possible to directly register it in JMX without wrapping it in a StandardMBean.  Otherwise beans that implement things like MBeanRegistration, NotificationBroadcaster, NotificationEmitter will not expose that API to the mbean server.

To support this, @JMX will add an attribute:

boolean registerDirectly() default false;

JMXIntroduction will check the attribute; if true the target bean will be registered directly; otherwise a StandardMBean will be created and registered.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list