uCosminexus Application Server, API Reference Guide
![[Contents]](FIGURE/CONTENT.GIF)
![[Index]](FIGURE/INDEX.GIF)
![[Back]](FIGURE/FRONT.GIF)
(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 name |
Functionality |
| dayOfMonth |
Set a day of the month for timeout. |
| dayOfWeek |
Set a day of the week for timeout. |
| hour |
Set the hour for timeout. |
| info |
Set the optional character information related to the timer. |
| minute |
Set the minutes for timeout. |
| month |
Set the month for timeout. |
| persistent |
Set 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). |
| second |
Set the seconds for timeout. |
| timezone |
Set the time zone for timeout. |
| year |
Set 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
- "*"
All Rights Reserved. Copyright (C) 2012, 2013, Hitachi, Ltd.