public class BeanContextServiceAvailableEvent extends BeanContextEvent
BeanContextServicesListener使用此事件类型来识别正在注册的服务。
Modifier and Type | Field and Description |
---|---|
protected 类 |
serviceClass
A
类 参考新提供的服务
|
propagatedFrom
source
Constructor and Description |
---|
BeanContextServiceAvailableEvent(BeanContextServices bcs, 类 sc)
构造一个
BeanContextAvailableServiceEvent 。
|
Modifier and Type | Method and Description |
---|---|
Iterator |
getCurrentServiceSelectors()
获取服务依赖选择器的列表。
|
类 |
getServiceClass()
获取作为此通知主题的服务类。
|
BeanContextServices |
getSourceAsBeanContextServices()
获取源为BeanContextServices类型的
BeanContextServices 。
|
getBeanContext, getPropagatedFrom, isPropagated, setPropagatedFrom
getSource, toString
protected 类 serviceClass
类
参考新提供的服务
public BeanContextServiceAvailableEvent(BeanContextServices bcs, 类 sc)
BeanContextAvailableServiceEvent
。
bcs
- 服务已经可用的上下文
sc
- A
类
对新提供的服务的引用
public BeanContextServices getSourceAsBeanContextServices()
BeanContextServices
。
public 类 getServiceClass()
类
参考新提供的服务
public Iterator getCurrentServiceSelectors()
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.