{
Visibility visibleChild = (Visibility) targetChild;
if (okToUseGui)
visibleChild.okToUseGui();
else
visibleChild.dontUseGui();
}
childJustAddedHook(targetChild, child);
}
fireChildrenAdded(new BeanContextMembershipEvent(this,
new Object[]{ targetChild }));