javax.management.timer
Class TimerNotification

java.lang.Object sample code for java.lang.Object definition code for java.lang.Object 
  extended by java.util.EventObject sample code for java.util.EventObject definition code for java.util.EventObject 
      extended by javax.management.Notification sample code for javax.management.Notification definition code for javax.management.Notification 
          extended by javax.management.timer.TimerNotification
All Implemented Interfaces:
Serializable sample code for java.io.Serializable definition code for java.io.Serializable

public class TimerNotification
extends Notification sample code for javax.management.Notification definition code for javax.management.Notification

This class provides definitions of the notifications sent by timer MBeans.
It defines a timer notification identifier which allows to retrieve a timer notification from the list of notifications of a timer MBean.

The timer notifications are created and handled by the timer MBean.

Since:
1.5
See Also:
Serialized Form

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

Constructor Detail

TimerNotification sample code for javax.management.timer.TimerNotification(java.lang.String, java.lang.Object, long, long, java.lang.String, java.lang.Integer) definition code for javax.management.timer.TimerNotification(java.lang.String, java.lang.Object, long, long, java.lang.String, java.lang.Integer)

public TimerNotification(String sample code for java.lang.String definition code for java.lang.String  type,
                         Object sample code for java.lang.Object definition code for java.lang.Object  source,
                         long sequenceNumber,
                         long timeStamp,
                         String sample code for java.lang.String definition code for java.lang.String  msg,
                         Integer sample code for java.lang.Integer definition code for java.lang.Integer  id)
Creates a timer notification object.

Parameters:
type - The notification type.
source - The notification producer.
sequenceNumber - The notification sequence number within the source object.
timeStamp - The notification emission date.
msg - The notification message.
id - The notification identifier.
Method Detail

getNotificationID sample code for javax.management.timer.TimerNotification.getNotificationID() definition code for javax.management.timer.TimerNotification.getNotificationID()

public Integer sample code for java.lang.Integer definition code for java.lang.Integer  getNotificationID()
Gets the identifier of this timer notification.

Returns:
The identifier.