code: public InputStream getResourceAsStream(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();
          InputStream is;
          if (cl != null && (is = cl.getResourceAsStream(name)) != null) {
              return is;
          }
          return ClassLoader.getSystemResourceAsStream(name);
      }
docs: Analagous to <code>java.lang.ClassLoader.getResourceAsStream()</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 an <code>InputStream</code> for reading the resource,
  or <code>null</code> if the resource could not
  be found.
  @throws IllegalArgumentException if the resource is not valid