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 ;7 import java.net.UnknownHostException ;8 9 /**10 * @author Bela Ban11 * @version $Id: TcpCacheServerMBean.java,v 1.5 2006/12/30 17:50:01 msurtani Exp $12 */13 public interface TcpCacheServerMBean 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(CacheImpl cache);35 //void setCache(TreeCacheMBean cache);36 37 String getCacheName();38 39 void setCacheName(String cache_name) throws MalformedObjectNameException ;40 41 String getConnections();42 }43