JavaTM Platform
Standard Ed. 6

接口 java.beans.beancontext.BeanContextMembershipListener
的使用

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

java.beans.beancontextBeanContextMembershipListener 的使用
 

返回 BeanContextMembershipListenerjava.beans.beancontext 中的方法
protected static BeanContextMembershipListener BeanContextSupport.getChildBeanContextMembershipListener(Object child)
          与指定 Child 相关联的 BeanContextMembershipListener(如果有)。
 

参数类型为 BeanContextMembershipListenerjava.beans.beancontext 中的方法
 void BeanContext.addBeanContextMembershipListener(BeanContextMembershipListener bcml)
          添加指定的 BeanContextMembershipListener,以便无论何时添加或移除一个子 Component,都可以接收来自此 BeanContextBeanContextMembershipEvents
 void BeanContextSupport.addBeanContextMembershipListener(BeanContextMembershipListener bcml)
          添加一个 BeanContextMembershipListener。
 void BeanContext.removeBeanContextMembershipListener(BeanContextMembershipListener bcml)
          移除指定的 BeanContextMembershipListener,以便在添加或移除子 Component 时不再接收 BeanContextMembershipEvent
 void BeanContextSupport.removeBeanContextMembershipListener(BeanContextMembershipListener bcml)
          移除一个 BeanContextMembershipListener。
 


JavaTM Platform
Standard Ed. 6

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

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