KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jgroups > jmx > ProtocolMBean


1 package org.jgroups.jmx;
2
3 import java.util.Map JavaDoc;
4 import java.util.Properties JavaDoc;
5
6 /**
7  * @author Bela Ban
8  * @version $Id: ProtocolMBean.java,v 1.10 2007/04/27 07:59:24 belaban Exp $
9  */

10 public interface ProtocolMBean {
11     String JavaDoc getName();
12     String JavaDoc getPropertiesAsString();
13     void setProperties(Properties JavaDoc p);
14     boolean getStatsEnabled();
15     void setStatsEnabled(boolean flag);
16     void resetStats();
17     String JavaDoc printStats();
18     Map JavaDoc dumpStats();
19     void create() throws Exception JavaDoc;
20     void start() throws Exception JavaDoc;
21     void stop();
22     void destroy();
23
24 }
25
Popular Tags