站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 jmx API Documentation 英文版文档

TimerNotification (JBoss/JMX API) - JBoss 4.0.1 sp1 jmx API Documentation 英文版文档


javax.management.timer
Class TimerNotification

java.lang.Object
  extended byjava.util.EventObject
      extended byjavax.management.Notification
          extended byjavax.management.timer.TimerNotification
All Implemented Interfaces:
Serializable

public class TimerNotification
extends Notification

A notification from the timer service.

Version:
$Revision: 1.8 $

Revisions:

20020816 Adrian Brock:

  • Serialization
Author:
Adrian Brock
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
TimerNotification(String type, Object source, long sequenceNumber, long timeStamp, String message, Integer id)
          Construct a new timer notification.
 
Method Summary
 Integer getNotificationID()
          Retrieves the notification id of this timer notification.
 String toString()
           
 
Methods inherited from class javax.management.Notification
getMessage, getSequenceNumber, getSource, getTimeStamp, getType, getUserData, setSequenceNumber, setSource, setTimeStamp, setUserData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TimerNotification

public TimerNotification(String type,
                         Object source,
                         long sequenceNumber,
                         long timeStamp,
                         String message,
                         Integer id)
Construct a new timer notification.

Parameters:
type - the notification type.
source - the notification source.
sequenceNumber - the notification sequence within the source object.
timeStamp - the time the notification was sent.
message - the detailed message.
id - the timer notification id.
Method Detail

getNotificationID

public Integer getNotificationID()
Retrieves the notification id of this timer notification.

Returns:
the notification id.

toString

public String toString()
Overrides:
toString in class Notification
Returns:
human readable string.


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.