JavaTM 2 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 2 Platform
Standard Ed. 6

提交錯誤或意見

版權所有 2008 Sun Microsystems, Inc. 保留所有權利。請遵守GNU General Public License, version 2 only。