|
BEA Systems, Inc. | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: INNER | 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.
| 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 | |
java.lang.Integer |
addNotification(java.lang.String type,
java.lang.String message,
java.lang.Object userData,
java.util.Date date)
Adds a feature to the Notification attribute of the Timer object |
java.lang.Integer |
addNotification(java.lang.String type,
java.lang.String message,
java.lang.Object userData,
java.util.Date date,
long period)
Adds a feature to the Notification attribute of the Timer object |
java.lang.Integer |
addNotification(java.lang.String type,
java.lang.String message,
java.lang.Object userData,
java.util.Date date,
long period,
long nbOccurences)
Adds a feature to the Notification attribute of the Timer object |
void |
addNotification(weblogic.time.common.internal.TimerNotification tn)
Adds a feature to the Notification attribute of the Timer object |
void |
addNotificationListener(javax.management.NotificationListener listener,
javax.management.NotificationFilter filter,
java.lang.Object handback)
Adds a feature to the NotificationListener attribute of the Timer object |
void |
deliverNotifications(javax.management.Notification tn)
Description of the Method |
java.util.Vector |
getAllNotificationIDs()
Gets the allNotificationIDs attribute of the Timer object |
java.util.Date |
getDate(java.lang.Integer id)
Gets the date attribute of the Timer object |
java.lang.String |
getDispatchPolicy()
Gets the dispatchPolicy attribute of the Timer object |
int |
getNbNotifications()
Gets the nbNotifications attribute of the Timer object |
java.lang.Long |
getNbOccurences(java.lang.Integer id)
Gets the nbOccurences attribute of the Timer object |
java.util.Vector |
getNotificationIDs(java.lang.String type)
Gets the notificationIDs attribute of the Timer object |
javax.management.MBeanNotificationInfo[] |
getNotificationInfo()
Gets the notificationInfo attribute of the Timer object |
java.lang.String |
getNotificationMessage(java.lang.Integer id)
Gets the notificationMessage attribute of the Timer object |
java.lang.String |
getNotificationType(java.lang.Integer id)
Gets the notificationType attribute of the Timer object |
java.lang.Object |
getNotificationUserData(java.lang.Integer id)
Gets the notificationUserData attribute of the Timer object |
java.lang.Long |
getPeriod(java.lang.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(java.lang.Integer id)
Description of the Method |
void |
removeNotification(weblogic.time.common.internal.TimerNotification tn)
Description of the Method |
void |
removeNotification(weblogic.time.common.internal.TimerNotification tn,
boolean removeFromTimeTable)
Description of the Method |
void |
removeNotificationListener(javax.management.NotificationListener listener)
Description of the Method |
void |
removeNotifications(java.lang.String type)
Description of the Method |
void |
run()
Main processing method for the Timer object |
void |
setDispatchPolicy(java.lang.String dispatchPolicy)
Sets the dispatchPolicy attribute of the Timer object |
void |
setSendPastNotifications(boolean value)
Sets the sendPastNotifications attribute of the Timer object |
void |
start()
Description of the Method |
void |
start(java.lang.ThreadGroup tg,
java.lang.String name,
int priority)
Description of the Method |
void |
stop()
Description of the Method |
| Methods inherited from class javax.management.timer.Timer |
postDeregister,
postRegister,
preDeregister,
preRegister |
| Methods inherited from class javax.management.NotificationBroadcasterSupport |
sendNotification |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Constructor Detail |
public Timer()
| Method Detail |
public java.lang.String getDispatchPolicy()
public int getNbNotifications()
public java.util.Vector getAllNotificationIDs()
public java.util.Vector getNotificationIDs(java.lang.String type)
type - Description of the Parameterpublic java.lang.String getNotificationType(java.lang.Integer id)
id - Description of the Parameterpublic java.lang.String getNotificationMessage(java.lang.Integer id)
id - Description of the Parameterpublic java.lang.Object getNotificationUserData(java.lang.Integer id)
id - Description of the Parameterpublic java.util.Date getDate(java.lang.Integer id)
id - Description of the Parameterpublic java.lang.Long getPeriod(java.lang.Integer id)
id - Description of the Parameterpublic java.lang.Long getNbOccurences(java.lang.Integer id)
id - Description of the Parameterpublic boolean getSendPastNotifications()
public boolean isActive()
public boolean isEmpty()
public javax.management.MBeanNotificationInfo[] getNotificationInfo()
public void setDispatchPolicy(java.lang.String dispatchPolicy)
dispatchPolicy - The new dispatchPolicy valuepublic void setSendPastNotifications(boolean value)
value - The new sendPastNotifications valuepublic void start()
public void start(java.lang.ThreadGroup tg,
java.lang.String name,
int priority)
tg - Description of the Parametername - Description of the Parameterpriority - Description of the Parameterpublic void stop()
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
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
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
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
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
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
public void removeNotification(java.lang.Integer id)
throws javax.management.InstanceNotFoundException
id - Description of the Parameter
public void removeNotifications(java.lang.String type)
throws javax.management.InstanceNotFoundException
type - Description of the Parameterpublic void removeAllNotifications()
public void addNotificationListener(javax.management.NotificationListener listener,
javax.management.NotificationFilter filter,
java.lang.Object handback)
throws java.lang.IllegalArgumentException
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
public void removeNotificationListener(javax.management.NotificationListener listener)
throws javax.management.ListenerNotFoundException
listener - Description of the Parameterpublic void run()
public void addNotification(weblogic.time.common.internal.TimerNotification tn)
tn - The feature to be added to the Notification attribute
public void removeNotification(weblogic.time.common.internal.TimerNotification tn)
throws javax.management.InstanceNotFoundException
tn - Description of the Parameter
public void removeNotification(weblogic.time.common.internal.TimerNotification tn,
boolean removeFromTimeTable)
throws javax.management.InstanceNotFoundException
tn - Description of the ParameterremoveFromTimeTable - Description of the Parameterpublic void deliverNotifications(javax.management.Notification tn)
tn - Description of the Parameter
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs81 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||