01: package biz.hammurapi.config;
02:
03: /**
04: * If instance created by DomConfigFactory implements this interface then the factory
05: * passes a command to the instance to restart it if the instance detects a failure which
06: * can be possibly fixed by re-creating the instance from XML configuration.
07: * @author Pavel Vlasov
08: *
09: */
10: public interface Restartable {
11: void setRestartCommand(RestartCommand command);
12: }
|