[jboss-jira] [JBoss JIRA] Commented: (JBAS-4180) Reduce coupling between JMX and HASingleton

Galder Zamarreno (JIRA) jira-events at lists.jboss.org
Thu Oct 18 12:17:03 EDT 2007


    [ http://jira.jboss.com/jira/browse/JBAS-4180?page=comments#action_12383290 ] 
            
Galder Zamarreno commented on JBAS-4180:
----------------------------------------

I have committed a simple UT for an HA Singleton with a Pojo bean injected 
without a JMX annotation that passes.

Still TODO: remove @JMX from HA singleton election policy tests and 
investigate why tests are failing.

> Reduce coupling between JMX and HASingleton
> -------------------------------------------
>
>                 Key: JBAS-4180
>                 URL: http://jira.jboss.com/jira/browse/JBAS-4180
>             Project: JBoss Application Server
>          Issue Type: Task
>      Security Level: Public(Everyone can see) 
>          Components: Clustering
>            Reporter: Brian Stansberry
>         Assigned To: Galder Zamarreno
>             Fix For: JBossAS-5.0.0.CR1
>
>
> Look at HASingletonController and HASingletonElectionPolicy and factor out the JMX-related stuff.
> For a unit test, just tried to deploy an HASingletonController as a simple MC bean, no JMX.  Fails to start with NPE because HASingletonController is a ServiceMBeanSupport subclass and w/o JMX registration it won't work.

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