ZooTrace.logTraceMessage(LOG, ZooTrace.JMX_TRACE_MASK,
"Starting quorum peer");
quorumBean=new QuorumBean(qp);
MBeanRegistry.getInstance().register(quorumBean, null);
for(QuorumServer s: qp.quorumPeers.values()){
ZKMBeanInfo p;
if(qp.getId()==s.id)
p=localPeerBean=new LocalPeerBean(qp);
else
p=new RemotePeerBean(s);
MBeanRegistry.getInstance().register(p, quorumBean);