@javax.ejb.Schedule: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 7: Line 7:


Used for [[EJB_Timer_Service#Automatic_Timer_Creation|automatic timer creation]].
Used for [[EJB_Timer_Service#Automatic_Timer_Creation|automatic timer creation]].
Example:
<syntaxhighlight lang='java'>
@Schedule(hour="3", dayOfMonth="1", info="something")
public void toBeExecutedAt3AMOnTheFirstDayOfTheMonth() {
  ...
}
</syntaxhighlight>

Revision as of 16:21, 25 September 2017

Internal

Overview

Used for automatic timer creation.

Example:

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