org.apache.openejb.core.timer
Class TimerServiceWrapper

java.lang.Object
  extended by org.apache.openejb.core.timer.TimerServiceWrapper
All Implemented Interfaces:
javax.ejb.TimerService

public class TimerServiceWrapper
extends Object
implements javax.ejb.TimerService


Constructor Summary
TimerServiceWrapper()
           
 
Method Summary
 javax.ejb.Timer createCalendarTimer(javax.ejb.ScheduleExpression scheduleExpression)
           
 javax.ejb.Timer createCalendarTimer(javax.ejb.ScheduleExpression scheduleExpression, javax.ejb.TimerConfig timerConfig)
           
 javax.ejb.Timer createIntervalTimer(Date date, long l, javax.ejb.TimerConfig timerConfig)
           
 javax.ejb.Timer createIntervalTimer(long l, long l1, javax.ejb.TimerConfig timerConfig)
           
 javax.ejb.Timer createSingleActionTimer(Date date, javax.ejb.TimerConfig timerConfig)
           
 javax.ejb.Timer createSingleActionTimer(long l, javax.ejb.TimerConfig timerConfig)
           
 javax.ejb.Timer createTimer(Date initialExpiration, long intervalDuration, Serializable info)
           
 javax.ejb.Timer createTimer(Date expiration, Serializable info)
           
 javax.ejb.Timer createTimer(long initialDuration, long intervalDuration, Serializable info)
           
 javax.ejb.Timer createTimer(long duration, Serializable info)
           
 Collection<javax.ejb.Timer> getTimers()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimerServiceWrapper

public TimerServiceWrapper()
Method Detail

createTimer

public javax.ejb.Timer createTimer(Date initialExpiration,
                                   long intervalDuration,
                                   Serializable info)
                            throws IllegalArgumentException,
                                   IllegalStateException,
                                   javax.ejb.EJBException
Specified by:
createTimer in interface javax.ejb.TimerService
Throws:
IllegalArgumentException
IllegalStateException
javax.ejb.EJBException

createTimer

public javax.ejb.Timer createTimer(Date expiration,
                                   Serializable info)
                            throws IllegalArgumentException,
                                   IllegalStateException,
                                   javax.ejb.EJBException
Specified by:
createTimer in interface javax.ejb.TimerService
Throws:
IllegalArgumentException
IllegalStateException
javax.ejb.EJBException

createTimer

public javax.ejb.Timer createTimer(long initialDuration,
                                   long intervalDuration,
                                   Serializable info)
                            throws IllegalArgumentException,
                                   IllegalStateException,
                                   javax.ejb.EJBException
Specified by:
createTimer in interface javax.ejb.TimerService
Throws:
IllegalArgumentException
IllegalStateException
javax.ejb.EJBException

createTimer

public javax.ejb.Timer createTimer(long duration,
                                   Serializable info)
                            throws IllegalArgumentException,
                                   IllegalStateException,
                                   javax.ejb.EJBException
Specified by:
createTimer in interface javax.ejb.TimerService
Throws:
IllegalArgumentException
IllegalStateException
javax.ejb.EJBException

getTimers

public Collection<javax.ejb.Timer> getTimers()
                                      throws IllegalStateException,
                                             javax.ejb.EJBException
Specified by:
getTimers in interface javax.ejb.TimerService
Throws:
IllegalStateException
javax.ejb.EJBException

createSingleActionTimer

public javax.ejb.Timer createSingleActionTimer(long l,
                                               javax.ejb.TimerConfig timerConfig)
                                        throws IllegalArgumentException,
                                               IllegalStateException,
                                               javax.ejb.EJBException
Specified by:
createSingleActionTimer in interface javax.ejb.TimerService
Throws:
IllegalArgumentException
IllegalStateException
javax.ejb.EJBException

createSingleActionTimer

public javax.ejb.Timer createSingleActionTimer(Date date,
                                               javax.ejb.TimerConfig timerConfig)
                                        throws IllegalArgumentException,
                                               IllegalStateException,
                                               javax.ejb.EJBException
Specified by:
createSingleActionTimer in interface javax.ejb.TimerService
Throws:
IllegalArgumentException
IllegalStateException
javax.ejb.EJBException

createIntervalTimer

public javax.ejb.Timer createIntervalTimer(long l,
                                           long l1,
                                           javax.ejb.TimerConfig timerConfig)
                                    throws IllegalArgumentException,
                                           IllegalStateException,
                                           javax.ejb.EJBException
Specified by:
createIntervalTimer in interface javax.ejb.TimerService
Throws:
IllegalArgumentException
IllegalStateException
javax.ejb.EJBException

createIntervalTimer

public javax.ejb.Timer createIntervalTimer(Date date,
                                           long l,
                                           javax.ejb.TimerConfig timerConfig)
                                    throws IllegalArgumentException,
                                           IllegalStateException,
                                           javax.ejb.EJBException
Specified by:
createIntervalTimer in interface javax.ejb.TimerService
Throws:
IllegalArgumentException
IllegalStateException
javax.ejb.EJBException

createCalendarTimer

public javax.ejb.Timer createCalendarTimer(javax.ejb.ScheduleExpression scheduleExpression)
                                    throws IllegalArgumentException,
                                           IllegalStateException,
                                           javax.ejb.EJBException
Specified by:
createCalendarTimer in interface javax.ejb.TimerService
Throws:
IllegalArgumentException
IllegalStateException
javax.ejb.EJBException

createCalendarTimer

public javax.ejb.Timer createCalendarTimer(javax.ejb.ScheduleExpression scheduleExpression,
                                           javax.ejb.TimerConfig timerConfig)
                                    throws IllegalArgumentException,
                                           IllegalStateException,
                                           javax.ejb.EJBException
Specified by:
createCalendarTimer in interface javax.ejb.TimerService
Throws:
IllegalArgumentException
IllegalStateException
javax.ejb.EJBException


Copyright © 1999-2011 The Apache Software Foundation. All Rights Reserved.