KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > cache > loader > rmi > RmiCacheServerMBean


1 package org.jboss.cache.loader.rmi;
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 Manik Surtani
11  * @version $Id: RmiCacheServerMBean.java,v 1.4 2006/12/30 17:50:00 msurtani Exp $
12  */

13 public interface RmiCacheServerMBean 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(TreeCacheMBean cache);
35
void setCache(CacheImpl cache);
36
37    String JavaDoc getCacheName();
38
39    void setCacheName(String JavaDoc cache_name) throws MalformedObjectNameException JavaDoc;
40
41    String JavaDoc getBindName();
42
43    void setBindName(String JavaDoc s);
44 }
45
Popular Tags