JavaTM Platform
Standard Ed. 6

类 java.beans.beancontext.BeanContextSupport.BCSChild
的使用

使用 BeanContextSupport.BCSChild 的软件包
java.beans.beancontext 提供与 bean 上下文有关的类和接口。 
 

java.beans.beancontext 中 BeanContextSupport.BCSChild 的使用
 

java.beans.beancontext 中 BeanContextSupport.BCSChild 的子类
protected  class BeanContextServicesSupport.BCSSChild
           
 

返回 BeanContextSupport.BCSChild 的 java.beans.beancontext 中的方法
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  void BeanContextSupport.childDeserializedHook(Object child, BeanContextSupport.BCSChild bcsc)
          由 readObject 利用新近反序列化的子级和 BCSChild 调用。
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() 语义。
 


JavaTM Platform
Standard Ed. 6

提交错误或意见
有关更多的 API 参考资料和开发人员文档,请参阅 Java SE 开发人员文档。该文档包含更详细的、面向开发人员的描述,以及总体概述、术语定义、使用技巧和工作代码示例。

版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。另请参阅文档重新分发政策。