[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-2270?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14737658#comment-14737658
 ] 

Raul Gutierrez Segales commented on ZOOKEEPER-2270:
---------------------------------------------------

Thanks for the patch [~randgalt]. For consistency, can we just call the method 
setInstance? I don't think there is a risk of misuse, so no need for the 
special name.

Other than, +1. 

> Allow MBeanRegistry to be overridden for better unit tests
> ----------------------------------------------------------
>
>                 Key: ZOOKEEPER-2270
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2270
>             Project: ZooKeeper
>          Issue Type: Improvement
>          Components: server
>    Affects Versions: 3.4.6, 3.5.1
>            Reporter: Jordan Zimmerman
>            Assignee: Jordan Zimmerman
>         Attachments: ZOOKEEPER-2270.patch
>
>
> Apache Curator currently must use byte code re-writing to prevent the 
> MBeanRegistry from polluting the Platform MBeanServer. Provide a simple way 
> to avoid this.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to