ArrayList<DirectoryServerPlugin> pluginList =
new ArrayList<DirectoryServerPlugin>(dnList.size());
for (DN dn : dnList)
{
DirectoryServerPlugin p =
DirectoryServer.getPluginConfigManager().getRegisteredPlugin(dn);
assertNotNull(p, "The " + dn + " plugin is not registered with the server.");
pluginList.add(p);
}