code: @Override
     public Enumeration<URL> getResources(String name)
        throws IOException
     {
        Vector<URL> v = new Vector<URL>();
  
        Enumeration<URL> e = null;
  
        for (Deployment deployment : kernel.getDeployments())
        {
           if (!(deployment instanceof WARDeployment))
           {
              e = deployment.getClassLoader().getResources(name);
  
              if (e != null)
              {
                 while (e.hasMoreElements())
                 {
                    v.add(e.nextElement());
                 }
              }
           }
        }
  
        e = super.getResources(name);
        while (e.hasMoreElements())
        {
           v.add(e.nextElement());
        }
  
        return v.elements();
     }
docs: {@inheritDoc}