类的用途
java.beans.beancontext.BeanContextSupport.BCSChild
-
BeanContextSupport.BCSChild 在 java.beans.beancontext 中的用法
java.beans.beancontext 中具有 BeanContextSupport.BCSChild 类型参数的字段修饰符和类型Field描述protected HashMap<Object,
BeanContextSupport.BCSChild> BeanContextSupport.children
所有对protected HashMap children
字段的访问都应在该对象上同步。修饰符和类型方法描述protected BeanContextSupport.BCSChild
BeanContextServicesSupport.createBCSChild
(Object targetChild, Object peer) 子类可以重写此方法以插入自己的 Child 子类,而不必重写 add() 或其他将子类添加到集合的 Collection 方法。protected BeanContextSupport.BCSChild
BeanContextSupport.createBCSChild
(Object targetChild, Object peer) 子类可以重写此方法以插入自己的 Child 子类,而不必重写 add() 或其他将子类添加到集合的 Collection 方法。返回类型中包含 BeanContextSupport.BCSChild 类型参数的 java.beans.beancontext 中的方法修饰符和类型方法描述protected Iterator<BeanContextSupport.BCSChild>
BeanContextSupport.bcsChildren()
返回此BeanContext
的所有子项的迭代器。修饰符和类型方法描述protected void
BeanContextSupport.childDeserializedHook
(Object child, BeanContextSupport.BCSChild bcsc) 由带有新反序列化的子对象和 BCSChild 的 readObject 调用。protected void
BeanContextSupport.childJustAddedHook
(Object child, BeanContextSupport.BCSChild bcsc) 子类可以重写此方法以在添加子项之后和事件通知发生之前简单地扩展 add() 语义。protected void
BeanContextServicesSupport.childJustRemovedHook
(Object child, BeanContextSupport.BCSChild bcsc) 在成功删除子项后从超类子项删除操作中调用。与子同步调用。protected void
BeanContextSupport.childJustRemovedHook
(Object child, BeanContextSupport.BCSChild bcsc) 子类可以重写此方法以在子项被移除之后和事件通知发生之前简单地扩展 remove() 语义。