JavaTM 2 Platform
Standard Ed. 6

javax.management.timer
类 TimerNotification

java.lang.Object
  继承者 java.util.EventObject
      继承者 javax.management.Notification
          继承者 javax.management.timer.TimerNotification
所有已实现的接口:
Serializable

public class TimerNotification
extends Notification

此类定义了由计时器 MBean 发送的通知。
它定义了计时器通知标识符,以允许从计时器 MBean 的通知列表中检索计时器通知。

计时器通知由计时器 MBean 创建,并由它来处理。

从以下版本开始:
1.5
另请参见:
序列化表格

字段摘要
 
从类 javax.management.Notification 继承的字段
source
 
构造方法摘要
TimerNotification(String type, Object source, long sequenceNumber, long timeStamp, String msg, Integer id)
          创建计时器通知对象。
 
方法摘要
 Integer getNotificationID()
          获取此计时器通知的标识符。
 
从类 javax.management.Notification 继承的方法
getMessage, getSequenceNumber, getTimeStamp, getType, getUserData, setSequenceNumber, setSource, setTimeStamp, setUserData, toString
 
从类 java.util.EventObject 继承的方法
getSource
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

构造方法详细信息

TimerNotification

public TimerNotification(String type,
                         Object source,
                         long sequenceNumber,
                         long timeStamp,
                         String msg,
                         Integer id)
创建计时器通知对象。

参数:
type - 通知类型。
source - 通知生成器。
sequenceNumber - 源对象中的通知序列号。
timeStamp - 通知发出日期。
msg - 通知消息。
id - 通知标识符。
方法详细信息

getNotificationID

public Integer getNotificationID()
获取此计时器通知的标识符。

返回:
标识符。

JavaTM 2 Platform
Standard Ed. 6

提交错误或意见

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