クラス
java.beans.beancontext.BeanContextSupport.BCSChildの使用
-
BeanContextSupport.BCSChildを使用しているパッケージ パッケージ 説明 java.beans.beancontext Beanコンテキストに関連するクラスおよびインタフェースを提供します。 -
-
java.beans.beancontextでのBeanContextSupport.BCSChildの使用
java.beans.beancontextでのBeanContextSupport.BCSChildのサブクラス 修飾子と型 クラス 説明 protected classBeanContextServicesSupport.BCSSChild型BeanContextSupport.BCSChildの型パラメータを持つjava.beans.beancontextのフィールド 修飾子と型 フィールド 説明 protected HashMap<Object,BeanContextSupport.BCSChild>BeanContextSupport. childrenprotected HashMap childrenフィールドへのすべてのアクセスは、そのオブジェクトで同期されます。BeanContextSupport.BCSChildを返すjava.beans.beancontextのメソッド 修飾子と型 メソッド 説明 protected BeanContextSupport.BCSChildBeanContextServicesSupport. createBCSChild(Object targetChild, Object peer)サブクラスはこのメソッドをオーバーライドすることにより、セットに子を追加するadd()メソッドやほかのCollectionメソッドをオーバーライドすることなく、Childの独自のサブクラスを挿入することができます。protected BeanContextSupport.BCSChildBeanContextSupport. createBCSChild(Object targetChild, Object peer)サブクラスはこのメソッドをオーバーライドすることにより、セットに子を追加するadd()メソッドやほかのCollectionメソッドをオーバーライドすることなく、Childの独自のサブクラスを挿入することができます。型BeanContextSupport.BCSChildの引数を持つ型を返すjava.beans.beancontextのメソッド 修飾子と型 メソッド 説明 protected Iterator<BeanContextSupport.BCSChild>BeanContextSupport. bcsChildren()このBeanContextのすべての子のイテレータを返します。BeanContextSupport.BCSChild型のパラメータを持つjava.beans.beancontextのメソッド 修飾子と型 メソッド 説明 protected voidBeanContextSupport. childDeserializedHook(Object child, BeanContextSupport.BCSChild bcsc)新しく直列化復元された子およびBCSChildを使ってreadObjectによって呼び出されます。protected voidBeanContextSupport. childJustAddedHook(Object child, BeanContextSupport.BCSChild bcsc)サブクラスはこのメソッドをオーバーライドして、子が追加されて、イベント通知が発生する前に、簡単にadd()セマンティックスを拡張できます。protected voidBeanContextServicesSupport. childJustRemovedHook(Object child, BeanContextSupport.BCSChild bcsc)子が正常に削除された後で、スーパー・クラスの子削除操作から呼び出されます。子が同期された状態で呼び出されます。protected voidBeanContextSupport. childJustRemovedHook(Object child, BeanContextSupport.BCSChild bcsc)サブクラスはこのメソッドをオーバーライドして、子が削除されて、イベント通知が発生する前に、簡単にremove()セマンティックスを拡張できます。
-