DirectoryServer.deregisterExtension(configuration.dn());
Extension extension = extensions.remove(configuration.dn());
if (extension != null)
{
extension.finalizeExtension();
}
return new ConfigChangeResult(resultCode, adminActionRequired, messages);
}