code: public URL getResource(String name, BeanContextChild bcc) throws IllegalArgumentException {
  
          // bcc must be a child of this context
          if (!contains(bcc)) {
              throw new IllegalArgumentException("Child is not a member of this context");
          }
  
          ClassLoader cl = bcc.getClass().getClassLoader();
          URL url;
          if (cl != null && (url = cl.getResource(name)) != null) {
              return url;
          }
          return ClassLoader.getSystemResource(name);
      }
docs: Analagous to <code>java.lang.ClassLoader.getResource()</code>, this
  method allows a <code>BeanContext</code> implementation to interpose
  behavior between the child <code>Component</code>
  and underlying <code>ClassLoader</code>.
  
  @param name the resource name
  @param bcc  the specified child
  @return a <code>URL</code> for the named
  resource for the specified child
  @throws IllegalArgumentException if the resource is not valid