|
BEA Systems, Inc. | |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.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 TimerMBean
type
- 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 Exceptionpublic Integer addNotification(String type, String message, Object userData, Date date, long period) throws IllegalArgumentException
addNotification
in interface TimerMBean
type
- 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 Exceptionpublic Integer addNotification(String type, String message, Object userData, Date date, long period, long nbOccurences) throws IllegalArgumentException
addNotification
in interface TimerMBean
type
- 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 Exceptionpublic void addNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback) throws IllegalArgumentException
addNotificationListener
in interface NotificationBroadcaster
listener
- 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 TimerMBean
public Date getDate(Integer id)
getDate
in interface TimerMBean
id
- Description of the Parameter
public int getNbNotifications()
getNbNotifications
in interface TimerMBean
public Long getNbOccurences(Integer id)
getNbOccurences
in interface TimerMBean
id
- Description of the Parameter
public Vector getNotificationIDs(String type)
getNotificationIDs
in interface TimerMBean
type
- Description of the Parameter
public MBeanNotificationInfo[] getNotificationInfo()
getNotificationInfo
in interface NotificationBroadcaster
public String getNotificationMessage(Integer id)
getNotificationMessage
in interface TimerMBean
id
- Description of the Parameter
public String getNotificationType(Integer id)
getNotificationType
in interface TimerMBean
id
- Description of the Parameter
public Object getNotificationUserData(Integer id)
getNotificationUserData
in interface TimerMBean
id
- Description of the Parameter
public Long getPeriod(Integer id)
getPeriod
in interface TimerMBean
id
- Description of the Parameter
public boolean getSendPastNotifications()
getSendPastNotifications
in interface TimerMBean
public boolean isActive()
isActive
in interface TimerMBean
public boolean isEmpty()
isEmpty
in interface TimerMBean
public void removeAllNotifications()
removeAllNotifications
in interface TimerMBean
public void removeNotification(Integer id) throws InstanceNotFoundException
removeNotification
in interface TimerMBean
id
- Description of the Parameter
InstanceNotFoundException
- Description of the Exceptionpublic void removeNotificationListener(NotificationListener listener) throws ListenerNotFoundException
removeNotificationListener
in interface NotificationBroadcaster
listener
- Description of the Parameter
ListenerNotFoundException
- Description of the Exceptionpublic void removeNotifications(String type) throws InstanceNotFoundException
removeNotifications
in interface TimerMBean
type
- Description of the Parameter
InstanceNotFoundException
- Description of the Exceptionpublic void setSendPastNotifications(boolean value)
setSendPastNotifications
in interface TimerMBean
value
- The new sendPastNotifications valuepublic void start()
start
in interface TimerMBean
public 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 |