public class BeanContextServiceAvailableEvent extends BeanContextEvent
这一事件类型是以beancontextserviceslistener用来识别服务注册。
| Modifier and Type | Field and Description |
|---|---|
protected 类 |
serviceClass
一个
类参照新提供的服务
|
propagatedFromsource| Constructor and Description |
|---|
BeanContextServiceAvailableEvent(BeanContextServices bcs, 类 sc)
构建一个
BeanContextAvailableServiceEvent。
|
| Modifier and Type | Method and Description |
|---|---|
Iterator |
getCurrentServiceSelectors()
获取服务依赖的选择器列表。
|
类 |
getServiceClass()
获取此通知的主题的服务类。
|
BeanContextServices |
getSourceAsBeanContextServices()
获取源的类型
BeanContextServices参考。
|
getBeanContext, getPropagatedFrom, isPropagated, setPropagatedFromgetSource, toStringprotected 类 serviceClass
类参考
public BeanContextServiceAvailableEvent(BeanContextServices bcs, 类 sc)
BeanContextAvailableServiceEvent。
bcs的上下文中,服务已成为可
sc -
类参照新提供的服务
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.