public FileConfigurationList(Kernel kernel, ServerInfo serverInfo, ConfigurationManager configurationManager, String configDir) {
this.kernel = kernel;
this.configurationManager = configurationManager;
this.serverInfo = serverInfo;
this.configFile = configDir;
this.listener = new LifecycleAdapter() {
public void stopped(ObjectName objectName) {
if(kernelFullyStarted && FileConfigurationList.this.kernel.isRunning()) {
doSave();
}
}