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

Brian Stansberry (JIRA) jira-events at lists.jboss.org
Fri Jul 6 23:40:52 EDT 2007


    [ http://jira.jboss.com/jira/browse/JBMICROCONT-109?page=comments#action_12368109 ] 
            
Brian Stansberry commented on JBMICROCONT-109:
----------------------------------------------

Long overdue testRegisterDirectly has been added to JMXDecoratedTestCase.

> 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_CR1
>
>
> 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