JavaTM 2 Platform
Standard Ed. 6

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

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

java.beans.beancontextBeanContextServiceRevokedListener 的使用
 

java.beans.beancontextBeanContextServiceRevokedListener 的子接口
 interface BeanContextServices
           BeanContextServices 接口为 BeanContext 提供某种机制,将一般的 "services" 向其中的 BeanContextChild 对象公开。
 interface BeanContextServicesListener
          用于接收 BeanContextServiceAvailableEvent 对象的侦听器接口。
 

实现 BeanContextServiceRevokedListenerjava.beans.beancontext 中的类
 class BeanContextChildSupport
           这是一个为实现 BeanContextChild 协议提供支持的一般支持类。
 class BeanContextServicesSupport
           此帮助器类提供 java.beans.beancontext.BeanContextServices 接口的实用工具实现。
protected  class BeanContextServicesSupport.BCSSProxyServiceProvider
           
 class BeanContextSupport
          此帮助器类提供 java.beans.beancontext.BeanContext 接口的实用工具实现。
 

参数类型为 BeanContextServiceRevokedListenerjava.beans.beancontext 中的方法
 Object BeanContextServices.getService(BeanContextChild child, Object requestor, Class serviceClass, Object serviceSelector, BeanContextServiceRevokedListener bcsrl)
          BeanContextChild(或任意与 BeanContextChild 关联的对象)可以通过调用此方法从其嵌套 BeanContextServices 中获得对当前已注册服务的引用。
 Object BeanContextServicesSupport.getService(BeanContextChild child, Object requestor, Class serviceClass, Object serviceSelector, BeanContextServiceRevokedListener bcsrl)
          获得一个可被委托的服务。
 


JavaTM 2 Platform
Standard Ed. 6

提交错误或意见

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