01: package org.jgroups.jmx;
02:
03: import org.jgroups.Channel;
04:
05: /**
06: * @author Bela Ban
07: * @version $Id: JChannelFactoryMBean.java,v 1.3 2006/05/02 11:06:00 belaban Exp $
08: */
09: public interface JChannelFactoryMBean {
10: String getMultiplexerConfig();
11:
12: void setMultiplexerConfig(String properties) throws Exception;
13:
14: String getDomain();
15:
16: void setDomain(String name);
17:
18: boolean isExposeChannels();
19:
20: void setExposeChannels(boolean flag);
21:
22: boolean isExposeProtocols();
23:
24: void setExposeProtocols(boolean f);
25:
26: Channel createMultiplexerChannel(String stack_name, String id)
27: throws Exception;
28:
29: Channel createMultiplexerChannel(String stack_name, String id,
30: boolean register_for_state_transfer, String substate_id)
31: throws Exception;
32:
33: void create() throws Exception;
34:
35: void start() throws Exception;
36:
37: void stop();
38:
39: void destroy();
40:
41: String dumpConfiguration();
42:
43: String dumpChannels();
44: }
|