Clover coverage report -
Coverage timestamp: Thu Jul 5 2007 20:02:32 EDT
file stats: LOC: 55   Methods: 0
NCLOC: 21   Classes: 1
 
 Source file Conditionals Statements Methods TOTAL
TcpCacheServerMBean.java - - - -
coverage
 1    package org.jboss.cache.loader.tcp;
 2   
 3    import org.jboss.cache.Cache;
 4    import org.jboss.cache.CacheSPI;
 5    import org.jboss.cache.jmx.CacheJmxWrapperMBean;
 6   
 7    import java.net.UnknownHostException;
 8   
 9    /**
 10    * StandardMBean interface for {@link TcpCacheServer}.
 11    *
 12    * @author Bela Ban
 13    * @author Brian Stansberry
 14    * @version $Id: TcpCacheServerMBean.java,v 1.8 2007/05/23 06:34:31 bstansberry Exp $
 15    */
 16    public interface TcpCacheServerMBean
 17    {
 18    void create() throws Exception;
 19   
 20    void start() throws Exception;
 21   
 22    void stop();
 23   
 24    void destroy();
 25   
 26    String getBindAddress();
 27   
 28    void setBindAddress(String bind_addr) throws UnknownHostException;
 29   
 30    int getPort();
 31   
 32    void setPort(int port);
 33   
 34    String getConfig();
 35   
 36    void setConfig(String config);
 37   
 38    Cache getCache();
 39   
 40    // BES 2007/5/22 Don't expose this setter via MBean interface, as
 41    // it's a different type from getter, which is invalid. This
 42    // setter doesn't need to be exposed vai JMX; the CacheJmxWrapper
 43    // is sufficient, and the setter is still there in the impl.
 44    //void setCache(CacheSPI cache);
 45   
 46    /**
 47    * Allows {@link #setCache(CacheSPI) injection of the CacheSPI} via
 48    * a {@link CacheJmxWrapperMBean}.
 49    *
 50    * @param wrapper
 51    */
 52    void setCacheJmxWrapper(CacheJmxWrapperMBean wrapper);
 53   
 54    String getConnections();
 55    }