|
BEA Systems, Inc. | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectjavax.management.NotificationBroadcasterSupport
javax.management.timer.Timer
weblogic.management.timer.Timer
Timer: an implementation of the JMX javax.management.TimerMBean interface that uses weblogic execute threads and honors user identity.
| Field Summary |
| Fields inherited from class javax.management.timer.Timer |
ONE_DAY, ONE_HOUR, ONE_MINUTE, ONE_SECOND, ONE_WEEK |
| Constructor Summary | |
Timer()
Constructor for the Timer object |
|
| Method Summary | |
Integer |
addNotification(String type,
String message,
Object userData,
Date date)
Adds a feature to the Notification attribute of the Timer object |
Integer |
addNotification(String type,
String message,
Object userData,
Date date,
long period)
Adds a feature to the Notification attribute of the Timer object |
Integer |
addNotification(String type,
String message,
Object userData,
Date date,
long period,
long nbOccurences)
Adds a feature to the Notification attribute of the Timer object |
void |
addNotificationListener(NotificationListener listener,
NotificationFilter filter,
Object handback)
Adds a feature to the NotificationListener attribute of the Timer object |
void |
deliverNotifications(Notification tn)
Description of the Method |
Vector |
getAllNotificationIDs()
Gets the allNotificationIDs attribute of the Timer object |
Date |
getDate(Integer id)
Gets the date attribute of the Timer object |
int |
getNbNotifications()
Gets the nbNotifications attribute of the Timer object |
Long |
getNbOccurences(Integer id)
Gets the nbOccurences attribute of the Timer object |
Vector |
getNotificationIDs(String type)
Gets the notificationIDs attribute of the Timer object |
MBeanNotificationInfo[] |
getNotificationInfo()
Gets the notificationInfo attribute of the Timer object |
String |
getNotificationMessage(Integer id)
Gets the notificationMessage attribute of the Timer object |
String |
getNotificationType(Integer id)
Gets the notificationType attribute of the Timer object |
Object |
getNotificationUserData(Integer id)
Gets the notificationUserData attribute of the Timer object |
Long |
getPeriod(Integer id)
Gets the period attribute of the Timer object |
boolean |
getSendPastNotifications()
Gets the sendPastNotifications attribute of the Timer object |
boolean |
isActive()
Gets the active attribute of the Timer object |
boolean |
isEmpty()
Gets the empty attribute of the Timer object |
void |
removeAllNotifications()
Description of the Method |
void |
removeNotification(Integer id)
Description of the Method |
void |
removeNotificationListener(NotificationListener listener)
Description of the Method |
void |
removeNotifications(String type)
Description of the Method |
void |
setSendPastNotifications(boolean value)
Sets the sendPastNotifications attribute of the Timer object |
void |
start()
Starts the timer. |
void |
stop()
Stops the timer |
| Methods inherited from class javax.management.timer.Timer |
addNotification, getFixedRate, postDeregister, postRegister, preDeregister, preRegister |
| Methods inherited from class javax.management.NotificationBroadcasterSupport |
handleNotification, removeNotificationListener, sendNotification |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.management.timer.TimerMBean |
addNotification, getFixedRate |
| Constructor Detail |
public Timer()
| Method Detail |
public Integer addNotification(String type,
String message,
Object userData,
Date date)
throws IllegalArgumentException
addNotification in interface TimerMBeantype - The feature to be added to the Notification attributemessage - The feature to be added to the Notification attributeuserData - The feature to be added to the Notification attributedate - The feature to be added to the Notification attribute
IllegalArgumentException - Description of the Exception
public Integer addNotification(String type,
String message,
Object userData,
Date date,
long period)
throws IllegalArgumentException
addNotification in interface TimerMBeantype - The feature to be added to the Notification attributemessage - The feature to be added to the Notification attributeuserData - The feature to be added to the Notification attributedate - The feature to be added to the Notification attributeperiod - The feature to be added to the Notification attribute
IllegalArgumentException - Description of the Exception
public Integer addNotification(String type,
String message,
Object userData,
Date date,
long period,
long nbOccurences)
throws IllegalArgumentException
addNotification in interface TimerMBeantype - The feature to be added to the Notification attributemessage - The feature to be added to the Notification attributeuserData - The feature to be added to the Notification attributedate - The feature to be added to the Notification attributeperiod - The feature to be added to the Notification attributenbOccurences - The feature to be added to the Notification attribute
IllegalArgumentException - Description of the Exception
public void addNotificationListener(NotificationListener listener,
NotificationFilter filter,
Object handback)
throws IllegalArgumentException
addNotificationListener in interface NotificationBroadcasterlistener - The feature to be added to the NotificationListener attributefilter - The feature to be added to the NotificationListener attributehandback - The feature to be added to the NotificationListener attribute
IllegalArgumentException - Description of the Exceptionpublic void deliverNotifications(Notification tn)
tn - Description of the Parameterpublic Vector getAllNotificationIDs()
getAllNotificationIDs in interface TimerMBeanpublic Date getDate(Integer id)
getDate in interface TimerMBeanid - Description of the Parameter
public int getNbNotifications()
getNbNotifications in interface TimerMBeanpublic Long getNbOccurences(Integer id)
getNbOccurences in interface TimerMBeanid - Description of the Parameter
public Vector getNotificationIDs(String type)
getNotificationIDs in interface TimerMBeantype - Description of the Parameter
public MBeanNotificationInfo[] getNotificationInfo()
getNotificationInfo in interface NotificationBroadcasterpublic String getNotificationMessage(Integer id)
getNotificationMessage in interface TimerMBeanid - Description of the Parameter
public String getNotificationType(Integer id)
getNotificationType in interface TimerMBeanid - Description of the Parameter
public Object getNotificationUserData(Integer id)
getNotificationUserData in interface TimerMBeanid - Description of the Parameter
public Long getPeriod(Integer id)
getPeriod in interface TimerMBeanid - Description of the Parameter
public boolean getSendPastNotifications()
getSendPastNotifications in interface TimerMBeanpublic boolean isActive()
isActive in interface TimerMBeanpublic boolean isEmpty()
isEmpty in interface TimerMBeanpublic void removeAllNotifications()
removeAllNotifications in interface TimerMBean
public void removeNotification(Integer id)
throws InstanceNotFoundException
removeNotification in interface TimerMBeanid - Description of the Parameter
InstanceNotFoundException - Description of the Exception
public void removeNotificationListener(NotificationListener listener)
throws ListenerNotFoundException
removeNotificationListener in interface NotificationBroadcasterlistener - Description of the Parameter
ListenerNotFoundException - Description of the Exception
public void removeNotifications(String type)
throws InstanceNotFoundException
removeNotifications in interface TimerMBeantype - Description of the Parameter
InstanceNotFoundException - Description of the Exceptionpublic void setSendPastNotifications(boolean value)
setSendPastNotifications in interface TimerMBeanvalue - The new sendPastNotifications valuepublic void start()
start in interface TimerMBeanpublic void stop()
stop in interface TimerMBean
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs91 Copyright 2005 BEA Systems Inc. |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||