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 ;7 import java.net.UnknownHostException ;8 9 /**10 * @author Manik Surtani11 * @version $Id: RmiCacheServerMBean.java,v 1.4 2006/12/30 17:50:00 msurtani Exp $12 */13 public interface RmiCacheServerMBean extends LifeCycle14 {15 String getBindAddress();16 17 void setBindAddress(String bind_addr) throws UnknownHostException ;18 19 int getPort();20 21 void setPort(int port);22 23 String getMBeanServerName();24 25 void setMBeanServerName(String name);26 27 String getConfig();28 29 void setConfig(String config);30 31 //TreeCacheMBean getCache();32 CacheImpl getCache();33 34 //void setCache(TreeCacheMBean cache);35 void setCache(CacheImpl cache);36 37 String getCacheName();38 39 void setCacheName(String cache_name) throws MalformedObjectNameException ;40 41 String getBindName();42 43 void setBindName(String s);44 }45