001 package biz.hammurapi.config;
002
003 /**
004 * If instance created by DomConfigFactory implements this interface then the factory
005 * passes a command to the instance to restart it if the instance detects a failure which
006 * can be possibly fixed by re-creating the instance from XML configuration.
007 * @author Pavel Vlasov
008 *
009 */
010 public interface Restartable {
011 void setRestartCommand(RestartCommand command);
012 }