2.4.21 @Schedule

Organization of this subsection
(1) Description
(2) Attribute

(1) Description

Specify in the timeout method in which the calendar base automatic generation timer of the EJB timer service is called back.

(2) Attribute

The following table lists the @Schedule attributes:

Attribute nameFunctionality
dayOfMonthSet a day of the month for timeout.
dayOfWeekSet a day of the week for timeout.
hourSet the hour for timeout.
infoSet the optional character information related to the timer.
minuteSet the minutes for timeout.
monthSet the month for timeout.
persistentSet persistence of timer. Since the persistence functionality of timer is not supported, the timer is not persistent even if you specify true and operate by considering as non persistent (false).
secondSet the seconds for timeout.
timezoneSet the time zone for timeout.
yearSet the year for timeout.

Details of each attribute are as follows:

(a) dayOfMonth attribute
Type
String
Description
Set a day of the month for timeout.
Default value
"*"
(b) dayOfWeek attribute
Type
String
Description
Set a day of the week for timeout.
Default value
"*"
(c) hour attribute
Type
String
Description
Set the hour for timeout.
Default value
"0"
(d) info attribute
Type
String
Description
Set the optional character information related to the timer.
Default value
""
(e) minute attribute
Type
String
Description
Set the minutes for timeout.
Default value
"0"
(f) month attribute
Type
String
Description
Set the month for timeout.
Default value
"*"
(g) persistent attribute
Type
boolean
Description
Set persistence of timer. Because the persistence functionality of timer is not supported, timer is not persistent even if you specify true and operate by considering as non persistent (false).
Default value
true
(h) second attribute
Type
String
Description
Set the timeout seconds.
Default value
"0"
(i) timezone attribute
Type
String
Description
Set the timeout time zone.
Default value
""
(j) year attribute
Type
String
Description
Set the timeout year.
Default value
"*"