Class EJBPersistentTimerInfo
- java.lang.Object
- 
- com.ibm.websphere.ejbcontainer.mbean.EJBPersistentTimerInfo
 
- 
 public class EJBPersistentTimerInfo extends java.lang.ObjectThe snapshot of the data for a persistent timer.
- 
- 
Constructor SummaryConstructors Constructor Description EJBPersistentTimerInfo()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetApplication()The administrative application name that contains the EJB that created the timer.java.lang.StringgetAutomaticTimerMethod()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.StringgetEJB()The EJB name that created the timer.java.lang.StringgetId()The unique ID of the timer as stored in the datastore.java.lang.StringgetInfo()ReturnstoString()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 thetoString()method.java.lang.StringgetModule()The module URI that contains the EJB that created the timer.longgetNextTimeout()The next timeout inSystem.currentTimeMillis()format.java.lang.StringgetScheduleExpression()Returns a string representation of thejavax.ejb.ScheduleExpressionused to create the calendar timer, or null if the timer is not a calendar timer.voidsetApplication(java.lang.String application)voidsetAutomaticTimerMethod(java.lang.String automaticTimerMethod)voidsetEJB(java.lang.String ejb)voidsetId(java.lang.String id)voidsetInfo(java.lang.String info)voidsetModule(java.lang.String module)voidsetNextTimeout(long nextTimeout)voidsetScheduleExpression(java.lang.String scheduleExpression)java.lang.StringtoString()
 
- 
- 
- 
Method Detail- 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- java.lang.Object
 
 - 
getIdpublic java.lang.String getId() The unique ID of the timer as stored in the datastore. This ID uniquely identifies the timer and will not change for the duration of the timer's existence.
 - 
setIdpublic void setId(java.lang.String id) 
 - 
getApplicationpublic java.lang.String getApplication() The administrative application name that contains the EJB that created the timer.
 - 
setApplicationpublic void setApplication(java.lang.String application) 
 - 
getModulepublic java.lang.String getModule() The module URI that contains the EJB that created the timer.
 - 
setModulepublic void setModule(java.lang.String module) 
 - 
getEJBpublic java.lang.String getEJB() The EJB name that created the timer.
 - 
setEJBpublic void setEJB(java.lang.String ejb) 
 - 
getNextTimeoutpublic long getNextTimeout() The next timeout inSystem.currentTimeMillis()format. This time might be in the past if the timer was delayed or requires catch-ups.
 - 
setNextTimeoutpublic void setNextTimeout(long nextTimeout) 
 - 
getInfopublic java.lang.String getInfo() ReturnstoString()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 thetoString()method.
 - 
setInfopublic void setInfo(java.lang.String info) 
 - 
getScheduleExpressionpublic java.lang.String getScheduleExpression() Returns a string representation of thejavax.ejb.ScheduleExpressionused 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.
 - 
setScheduleExpressionpublic void setScheduleExpression(java.lang.String scheduleExpression) 
 - 
getAutomaticTimerMethodpublic 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. This is intended to help disambiguate the specific automatic timer if the EJB declares multiple automatic timers on different methods, but it will not be unique if the EJB declares multiple automatic timers on the same method.
 - 
setAutomaticTimerMethodpublic void setAutomaticTimerMethod(java.lang.String automaticTimerMethod) 
 
- 
 
-