| 
 | JavaTM Platform Standard Ed. 6 | |||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectjava.util.EventObject
java.beans.beancontext.BeanContextEvent
java.beans.beancontext.BeanContextServiceAvailableEvent
public class BeanContextServiceAvailableEvent
BeanContextServicesListener 使用此事件类型来标识将被注册的服务。
| 字段摘要 | |
|---|---|
| protected  Class | serviceClass新近可用服务的 Class引用 | 
| 从类 java.beans.beancontext.BeanContextEvent 继承的字段 | 
|---|
| propagatedFrom | 
| 从类 java.util.EventObject 继承的字段 | 
|---|
| source | 
| 构造方法摘要 | |
|---|---|
| BeanContextServiceAvailableEvent(BeanContextServices bcs,
                                 Class sc)构造一个 BeanContextAvailableServiceEvent。 | |
| 方法摘要 | |
|---|---|
|  Iterator | getCurrentServiceSelectors()获得与服务相关的选择器列表。 | 
|  Class | getServiceClass()获得作为此通知主题的服务类。 | 
|  BeanContextServices | getSourceAsBeanContextServices()获得作为 BeanContextServices类型引用的源。 | 
| 从类 java.beans.beancontext.BeanContextEvent 继承的方法 | 
|---|
| getBeanContext, getPropagatedFrom, isPropagated, setPropagatedFrom | 
| 从类 java.util.EventObject 继承的方法 | 
|---|
| getSource, toString | 
| 从类 java.lang.Object 继承的方法 | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| 字段详细信息 | 
|---|
protected Class serviceClass
Class 引用
| 构造方法详细信息 | 
|---|
public BeanContextServiceAvailableEvent(BeanContextServices bcs,
                                        Class sc)
BeanContextAvailableServiceEvent。
bcs - 服务在其中变得可用的上下文sc - 新近可用服务的 Class 引用| 方法详细信息 | 
|---|
public BeanContextServices getSourceAsBeanContextServices()
BeanContextServices 类型引用的源。
public Class getServiceClass()
Class 引用public Iterator getCurrentServiceSelectors()
| 
 | JavaTM Platform Standard Ed. 6 | |||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。另请参阅文档重新分发政策。