6.1 List of Cosminexus APIs that differ in operation from Timer and Work Manager for Application Servers specifications

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 nameMethod nameOperations in Cosminexus Application Server
commonj.timers.TimerManager classschedule(TimerListener listener,Date time) methodReturns 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 classschedule(Work work) methodThrows WorkException, when work is null.
schedule(Work work,WorkListener wl) methodReturns WorkException, when work is null.
Returns IllegalArgumentException, when WorkListener inherits javax.ejb.EnterpriseBean.