|
JavaTM 2 Platform Standard Ed. 6 |
|||||||||
| 上一個類別 下一個類別 | 框架 無框架 | |||||||||
| 摘要: 巢狀 | 欄位 | 建構子 | 方法 | 詳細資訊: 欄位 | 建構子 | 方法 | |||||||||
java.lang.Objectjava.util.EventObject
java.beans.beancontext.BeanContextEvent
java.beans.beancontext.BeanContextServiceRevokedEvent
public class BeanContextServiceRevokedEvent
BeanContextServiceRevokedListener 使用此事件型別來標識將被取消的服務。
| 欄位摘要 | |
|---|---|
protected Class |
serviceClass
將被取消服務的 Class 參考。 |
| 從類別 java.beans.beancontext.BeanContextEvent 繼承的欄位 |
|---|
propagatedFrom |
| 從類別 java.util.EventObject 繼承的欄位 |
|---|
source |
| 建構子摘要 | |
|---|---|
BeanContextServiceRevokedEvent(BeanContextServices bcs,
Class sc,
boolean invalidate)
建構一個 BeanContextServiceEvent。 |
|
| 方法摘要 | |
|---|---|
Class |
getServiceClass()
獲得作為此通知主題的服務類別 |
BeanContextServices |
getSourceAsBeanContextServices()
獲得作為 BeanContextServices 型別參考的源 |
boolean |
isCurrentServiceInvalidNow()
報告當前服務是否被強行取消,在該情況下,參考當前無效並且不能使用。 |
boolean |
isServiceClass(Class service)
檢查此事件,以確定將被取消的服務是否屬於某個特定類別。 |
| 從類別 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 BeanContextServiceRevokedEvent(BeanContextServices bcs,
Class sc,
boolean invalidate)
BeanContextServiceEvent。
bcs - 將從中取消此服務的 BeanContextServicessc - 將被取消的服務invalidate - true 表示立即取消| 方法詳細資訊 |
|---|
public BeanContextServices getSourceAsBeanContextServices()
BeanContextServices 型別參考的源
BeanContextServicespublic Class getServiceClass()
Class 參考public boolean isServiceClass(Class service)
service - 感興趣的類別(應該為非 null )
truepublic boolean isCurrentServiceInvalidNow()
true
|
JavaTM 2 Platform Standard Ed. 6 |
|||||||||
| 上一個類別 下一個類別 | 框架 無框架 | |||||||||
| 摘要: 巢狀 | 欄位 | 建構子 | 方法 | 詳細資訊: 欄位 | 建構子 | 方法 | |||||||||
版權所有 2008 Sun Microsystems, Inc. 保留所有權利。請遵守GNU General Public License, version 2 only。