children.put(targetChild, targetChild);
child = createBCSChild(targetChild, beanContextChildPeer); children.put(targetChild, child); } synchronized (targetChild) { childJustAddedHook(targetChild, child); } fireChildrenAdded(new BeanContextMembershipEvent(this, new Object[] { targetChild }));
  public boolean add (Object targetChild)  {    if (targetChild == null)      throw new IllegalArgumentException();    if (children.containsKey(targetChild))      return false;    // FIXME: The second argument is surely wrong.    children.put(targetChild, targetChild);    return true;  }