javax.management.timer
Interface TimerMBean

All Known Implementing Classes:
Timer

public interface TimerMBean

Version:
$Revision: 1.2 $
Author:
Simone Bordet

Method Summary
 java.lang.Integer addNotification(java.lang.String type, java.lang.String message, java.lang.Object userData, java.util.Date date)
           
 java.lang.Integer addNotification(java.lang.String type, java.lang.String message, java.lang.Object userData, java.util.Date date, long period)
           
 java.lang.Integer addNotification(java.lang.String type, java.lang.String message, java.lang.Object userData, java.util.Date date, long period, long nbOccurences)
           
 java.util.Vector getAllNotificationIDs()
           
 java.util.Date getDate(java.lang.Integer id)
           
 int getNbNotifications()
           
 java.lang.Long getNbOccurences(java.lang.Integer id)
           
 java.util.Vector getNotificationIDs(java.lang.String type)
           
 java.lang.String getNotificationMessage(java.lang.Integer id)
           
 java.lang.String getNotificationType(java.lang.Integer id)
           
 java.lang.Object getNotificationUserData(java.lang.Integer id)
           
 java.lang.Long getPeriod(java.lang.Integer id)
           
 boolean getSendPastNotifications()
           
 boolean isActive()
           
 boolean isEmpty()
           
 void removeAllNotifications()
           
 void removeNotification(java.lang.Integer id)
           
 void removeNotifications(java.lang.String type)
           
 void setSendPastNotifications(boolean value)
           
 void start()
           
 void stop()
           
 

Method Detail

start

public void start()

stop

public void stop()

isActive

public boolean isActive()

addNotification

public java.lang.Integer addNotification(java.lang.String type,
                                         java.lang.String message,
                                         java.lang.Object userData,
                                         java.util.Date date)
                                  throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException

addNotification

public java.lang.Integer addNotification(java.lang.String type,
                                         java.lang.String message,
                                         java.lang.Object userData,
                                         java.util.Date date,
                                         long period)
                                  throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException

addNotification

public java.lang.Integer addNotification(java.lang.String type,
                                         java.lang.String message,
                                         java.lang.Object userData,
                                         java.util.Date date,
                                         long period,
                                         long nbOccurences)
                                  throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException

removeNotification

public void removeNotification(java.lang.Integer id)
                        throws InstanceNotFoundException
Throws:
InstanceNotFoundException

removeNotifications

public void removeNotifications(java.lang.String type)
                         throws InstanceNotFoundException
Throws:
InstanceNotFoundException

removeAllNotifications

public void removeAllNotifications()

getNbNotifications

public int getNbNotifications()

getAllNotificationIDs

public java.util.Vector getAllNotificationIDs()

getNotificationIDs

public java.util.Vector getNotificationIDs(java.lang.String type)

getNotificationType

public java.lang.String getNotificationType(java.lang.Integer id)

getNotificationMessage

public java.lang.String getNotificationMessage(java.lang.Integer id)

getNotificationUserData

public java.lang.Object getNotificationUserData(java.lang.Integer id)

getDate

public java.util.Date getDate(java.lang.Integer id)

getPeriod

public java.lang.Long getPeriod(java.lang.Integer id)

getNbOccurences

public java.lang.Long getNbOccurences(java.lang.Integer id)

getSendPastNotifications

public boolean getSendPastNotifications()

setSendPastNotifications

public void setSendPastNotifications(boolean value)

isEmpty

public boolean isEmpty()


Copyright © 2001-2002 MX4J Team. All Rights Reserved.