@javax.ejb.Schedule: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 6: Line 6:
=Overview=
=Overview=


Used for [[EJB_Timer_Service#Automatic_Timer_Creation|automatic timer creation]].
Used by EJB to designate timeout callback methods that will be invoked by [[EJB_Timer_Service#Automatic_Timer_Creation|automatically-created timers]].


Example:
Example:

Revision as of 16:23, 25 September 2017

Internal

Overview

Used by EJB to designate timeout callback methods that will be invoked by automatically-created timers.

Example:

@Schedule(hour="3", dayOfMonth="1", info="something")
public void toBeExecutedAt3AMOnTheFirstDayOfTheMonth() {
   ...
}