The following table describes the names and operations of Cosminexus Application Server APIs that differ in operation from the APIs defined by the specifications of Timer and Work Manager for Application Servers.
Table 6-1 List of Cosminexus Application Server APIs with operations that differ from the Timer and Work Manager for Application Servers specifications
Class name | Method name | Operations in Cosminexus Application Server |
---|---|---|
commonj.timers.TimerManager class | schedule(TimerListener listener,Date time) method | Returns IllegalArgumentException, when the listener inherits javax.ejb.EnterpriseBean. |
schedule(TimerListener listener,long delay) method | ||
schedule(TimerListener listener,Date firstTime,long period) method | ||
schedule(TimerListener listener,long delay,long period) method | ||
scheduleAtFixedRate(TimerListener listener,Date firstTime,long period) method | ||
scheduleAtFixedRate (TimerListener listener,long delay,long period) method | ||
commonj.work.WorkManager class | schedule(Work work) method | Throws WorkException, when work is null. |
schedule(Work work,WorkListener wl) method | Returns WorkException, when work is null. Returns IllegalArgumentException, when WorkListener inherits javax.ejb.EnterpriseBean. |