A timer monitors elapsed time:
- When a specific relative amount of time has passed (e.g., an hour)
- When a specific absolute moment has passed (e.g., midnight of February 12, 2015)
- At recurring intervals (e.g., every ten seconds)
- After an absolute time or a relative amount of time has passed, in recurring intervals thereafter (e.g., after an hour, then every five minutes thereafter OR after noon on Tuesday, then every hour thereafter)
The Workshop (Workshop) timer control allows you to easily incorporate timer functionality into a web service.
To learn about other Workshop controls, see Using
WebLogic System Controls.
Topics Included in this Section
Tutorial: Create a Timer Control
Walks through a step-by-step description of how to implement a simple timer control that calls back every two seconds.
Overview: Timer Control
Discusses how the timer works, how times are specified, general techniques for working with a timer control.
Creating and Configuring a Basic Timer Control
Describes how to declare/instantiate a timer control, configure settings, how to set up single-instance timers and recurring timers, timer control methods and properties.
Setting up Web Service Operations to Access a Timer Control
Explains how to create web methods to start/stop a timer control and an event handler to process the callback(s) when the timer elapses.
Changing Timer Settings Dynamically
Explains how to use methods on TimerControlBean as an alternative to using the TimerControl interface and the Properties view to change settings dynamically.
Using
a Timer Control
Provides a detailed feature summary.
TimerControl
Interface
Using WebLogic System Controls