Restartable.java :  » J2EE » hgcommons » biz » hammurapi » config » Java Open Source

Java Open Source » J2EE » hgcommons 
hgcommons » biz » hammurapi » config » Restartable.java
package biz.hammurapi.config;

/**
 * If instance created by DomConfigFactory implements this interface then the factory
 * passes a command to the instance to restart it if the instance detects a failure which
 * can be possibly fixed by re-creating the instance from XML configuration. 
 * @author Pavel Vlasov
 *
 */
public interface Restartable {
  void setRestartCommand(RestartCommand command);
}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.