code: private void deploy(ClassLoader cl, String name) throws Throwable
     {
        if (cl == null)
           throw new IllegalArgumentException("ClassLoader is null");
  
        if (name == null)
           throw new IllegalArgumentException("Name is null");
  
        URL url = cl.getResource(name);
  
        if (url == null)
           throw new IllegalArgumentException("Resource is null");
  
        log.debugf("Deploying: %s", url);
  
        kernel.getMainDeployer().deploy(url);
     }
docs: Deploy
  @param cl The class loader
  @param name The resource name
  @exception Throwable If an error occurs