@Override public boolean init() { final boolean superInitSucceeded = super.init(); if (!superInitSucceeded) { return false; } // Set up record handlers this.registryRecordHandler = new RegistryRecordHandler(this.stringRegistryLookup); this.regularRecordHandler = new RegularRecordHandler(this, this.stringRegistryLookup); // Set up threads this.registryRecordHandlerThread = new Thread(this.registryRecordHandler); this.registryRecordHandlerThread.setDaemon(true); this.regularRecordHandlerThread = new Thread(this.regularRecordHandler); this.regularRecordHandlerThread.setDaemon(true); return true; }
@Override public boolean init() { final boolean superInitSucceeded = super.init(); if (!superInitSucceeded) { return false; } // Set up record handlers this.registryRecordHandler = new RegistryRecordHandler(this.stringRegistryLookup); this.regularRecordHandler = new RegularRecordHandler(this, this.stringRegistryLookup); // Set up threads this.registryRecordHandlerThread = new Thread(this.registryRecordHandler); this.registryRecordHandlerThread.setDaemon(true); this.regularRecordHandlerThread = new Thread(this.regularRecordHandler); this.regularRecordHandlerThread.setDaemon(true); return true; }