// See if the entry is registered as a connection handler. If so,
// deregister and stop it. We'll try to leave any established
// connections alone if possible.
DN dn = configuration.dn();
ConnectionHandler connectionHandler = connectionHandlers.get(dn);
if (connectionHandler != null) {
DirectoryServer.deregisterConnectionHandler(connectionHandler);
connectionHandlers.remove(dn);
connectionHandler.finalizeConnectionHandler(
INFO_CONNHANDLER_CLOSED_BY_DELETE.get());
}
return new ConfigChangeResult(resultCode, adminActionRequired);
}