Use the timer services to emit notifications at specific dates and times or at a constant interval. To listen and respond to these timer notifications, you create a JMX notification listener and register it with a timer service.
The WebLogic timer services extend the standard JMX timer service, enabling timers to run within a WebLogic Server execute thread and within the security context of a WebLogic Server user account. (Execute threads enable you to fine-tune your application's use of server resources and optimize performance.)
WebLogic Server does not provide a centralized timer service that can be accessed by all resources that are deployed on a specific server instance. Instead, each application constructs and manages instances of the timer service as it requires. Each time you restart a server instance, each application must re-instantiate any timer service configurations it needs.
javax.management.timer.Timer
.
You can download the JMX 1.0 specification and API documentation from http://jcp.org/aboutJava/communityprocess/final/jsr003/index.html.
Class | Description |
---|---|
Timer |
Timer: an implementation of the JMX javax.management.TimerMBean interface
that uses weblogic execute threads and honors user identity.
|
TimerListener |