|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.ejb.containers.TimerSchedule
public class TimerSchedule
A runtime representation of the user-defined calendar-based timeout expression for an enterprise bean timer.
| Constructor Summary | |
|---|---|
TimerSchedule()
Construct TimerSchedule instance with all defaults. |
|
TimerSchedule(ScheduledTimerDescriptor sd,
String methodName,
int paramCount)
Construct TimerSchedule instance from a given Schedule annotation. |
|
TimerSchedule(ScheduleExpression se)
Construct TimerSchedule instance from a given ScheduleExpression. |
|
TimerSchedule(String s)
Reconstruct TimerSchedule instance from a given String. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TimerSchedule()
public TimerSchedule(ScheduleExpression se)
public TimerSchedule(ScheduledTimerDescriptor sd,
String methodName,
int paramCount)
public TimerSchedule(String s)
| Method Detail |
|---|
public TimerSchedule second(String s)
public String getSecond()
public TimerSchedule minute(String m)
public String getMinute()
public TimerSchedule hour(String h)
public String getHour()
public TimerSchedule dayOfMonth(String d)
public String getDayOfMonth()
public TimerSchedule month(String m)
public String getMonth()
public TimerSchedule dayOfWeek(String d)
public String getDayOfWeek()
public TimerSchedule year(String y)
public String getYear()
public TimerSchedule timezone(String tz)
public String getTimeZoneID()
public TimeZone getTimeZone()
public TimerSchedule start(Date s)
public Date getStart()
public TimerSchedule end(Date e)
public Date getEnd()
public TimerSchedule setAutomatic(boolean b)
public boolean isAutomatic()
public String getTimerMethodName()
public int getMethodParamCount()
public String getScheduleAsString()
public ScheduleExpression getScheduleExpression()
public int hashCode()
hashCode in class Objectpublic boolean equals(Object o)
equals in class Objectpublic static boolean isValid(ScheduledTimerDescriptor s)
public boolean isValid(Calendar date)
public Calendar getNextTimeout()
public Calendar getNextTimeout(Date date)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||