public class EJBPersistentTimerInfo
extends java.lang.Object
Constructor and Description |
---|
EJBPersistentTimerInfo() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getApplication()
The administrative application name that contains the EJB that created
the timer.
|
java.lang.String |
getAutomaticTimerMethod()
Returns the name of the method that is declared to have the automatic
timer, or null if the timer is not an automatic timer.
|
java.lang.String |
getEJB()
The EJB name that created the timer.
|
java.lang.String |
getId()
The unique ID of the timer as stored in the datastore.
|
java.lang.String |
getInfo()
Returns
toString() of the info object used to create the timer,
or null if no info object was used to create the timer, the application
is not currently running and the class cannot be loaded, or an error
occurs while invoking the toString() method. |
java.lang.String |
getModule()
The module URI that contains the EJB that created the timer.
|
long |
getNextTimeout()
The next timeout in
System.currentTimeMillis() format. |
java.lang.String |
getScheduleExpression()
Returns a string representation of the
javax.ejb.ScheduleExpression used
to create the calendar timer, or null if the timer is not a calendar
timer. |
void |
setApplication(java.lang.String application) |
void |
setAutomaticTimerMethod(java.lang.String automaticTimerMethod) |
void |
setEJB(java.lang.String ejb) |
void |
setId(java.lang.String id) |
void |
setInfo(java.lang.String info) |
void |
setModule(java.lang.String module) |
void |
setNextTimeout(long nextTimeout) |
void |
setScheduleExpression(java.lang.String scheduleExpression) |
java.lang.String |
toString() |
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getId()
public void setId(java.lang.String id)
public java.lang.String getApplication()
public void setApplication(java.lang.String application)
public java.lang.String getModule()
public void setModule(java.lang.String module)
public java.lang.String getEJB()
public void setEJB(java.lang.String ejb)
public long getNextTimeout()
System.currentTimeMillis()
format. This time
might be in the past if the timer was delayed or requires catch-ups.public void setNextTimeout(long nextTimeout)
public java.lang.String getInfo()
toString()
of the info object used to create the timer,
or null if no info object was used to create the timer, the application
is not currently running and the class cannot be loaded, or an error
occurs while invoking the toString()
method.public void setInfo(java.lang.String info)
public java.lang.String getScheduleExpression()
javax.ejb.ScheduleExpression
used
to create the calendar timer, or null if the timer is not a calendar
timer. The returned string is intended for human display, so the format
is unspecified and might change in the future.public void setScheduleExpression(java.lang.String scheduleExpression)
public java.lang.String getAutomaticTimerMethod()
public void setAutomaticTimerMethod(java.lang.String automaticTimerMethod)