}
public void onStartup(QuorumPeer qp) {
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);