KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > cache > loader > tcp > TcpCacheServerMBean


1 package org.jboss.cache.loader.tcp;
2
3 import org.jboss.cache.CacheImpl;
4 import org.jboss.cache.jmx.LifeCycle;
5
6 import javax.management.MalformedObjectNameException JavaDoc;
7 import java.net.UnknownHostException JavaDoc;
8
9 /**
10  * @author Bela Ban
11  * @version $Id: TcpCacheServerMBean.java,v 1.5 2006/12/30 17:50:01 msurtani Exp $
12  */

13 public interface TcpCacheServerMBean extends LifeCycle
14 {
15    String JavaDoc getBindAddress();
16
17    void setBindAddress(String JavaDoc bind_addr) throws UnknownHostException JavaDoc;
18
19    int getPort();
20
21    void setPort(int port);
22
23    String JavaDoc getMBeanServerName();
24
25    void setMBeanServerName(String JavaDoc name);
26
27    String JavaDoc getConfig();
28
29    void setConfig(String JavaDoc config);
30
31    //TreeCacheMBean getCache();
32
CacheImpl getCache();
33
34    void setCache(CacheImpl cache);
35    //void setCache(TreeCacheMBean cache);
36

37    String JavaDoc getCacheName();
38
39    void setCacheName(String JavaDoc cache_name) throws MalformedObjectNameException JavaDoc;
40
41    String JavaDoc getConnections();
42 }
43
Popular Tags