1 15 package hivemind.test.services.impl; 16 17 import org.apache.commons.logging.Log; 18 import org.apache.commons.logging.LogFactory; 19 import org.apache.hivemind.events.RegistryShutdownListener; 20 21 22 28 public class RunnableImpl implements Runnable , RegistryShutdownListener 29 { 30 private final static Log _log = LogFactory.getLog(RunnableImpl.class); 31 private String _type; 32 33 public void run() 34 { 35 _log.debug("run -- " + _type); 36 } 37 38 public void registryDidShutdown() 39 { 40 _log.debug("registryDidShutdown -- " + _type); 41 } 42 43 public void setType(String string) 44 { 45 _type = string; 46 } 47 48 } 49 | Popular Tags |