code: public static void loadFromXmlPluginPackageDefinitions(final IPluginRepository repo, final ClassLoader cl, final InputStream in)
              throws PluginConfigurationException {
          for (PluginDefinition pd : loadFromXmlPluginPackageDefinitions(cl, in)) {
              repo.addPluginDefinition(pd);
          }
      }
docs: Loads a full repository definition from an XML file.
  
  @param repo
  The repository that must be loaded
  @param cl
  The classloader to be used to instantiate the plugin classes
  @param in
  The stream to the XML file
  
  @throws PluginConfigurationException
  -