code: public Object lookup(String type, String url)
          throws IOException
      {
          ClassLoader loader = Thread.currentThread().getContextClassLoader();
  
          try {
              Class api = Class.forName(type, false, loader);
  
              return factory.create(api, url);
          } catch (Exception e) {
              throw new IOException(String.valueOf(e));
          }
      }
docs: Looks up a proxy object.