KickJava   Java API By Example, From Geeks To Geeks.

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


1 package org.jgroups.jmx;
2
3 import org.jgroups.Channel;
4
5 /**
6  * @author Bela Ban
7  * @version $Id: JChannelFactoryMBean.java,v 1.3 2006/05/02 11:06:00 belaban Exp $
8  */

9 public interface JChannelFactoryMBean {
10     String JavaDoc getMultiplexerConfig();
11     void setMultiplexerConfig(String JavaDoc properties) throws Exception JavaDoc;
12
13     String JavaDoc getDomain();
14     void setDomain(String JavaDoc name);
15
16     boolean isExposeChannels();
17     void setExposeChannels(boolean flag);
18
19     boolean isExposeProtocols();
20     void setExposeProtocols(boolean f);
21
22     Channel createMultiplexerChannel(String JavaDoc stack_name, String JavaDoc id) throws Exception JavaDoc;
23     Channel createMultiplexerChannel(String JavaDoc stack_name, String JavaDoc id, boolean register_for_state_transfer, String JavaDoc substate_id) throws Exception JavaDoc;
24     void create() throws Exception JavaDoc;
25     void start() throws Exception JavaDoc;
26     void stop();
27     void destroy();
28     String JavaDoc dumpConfiguration();
29     String JavaDoc dumpChannels();
30 }
31
Popular Tags