org.apache.openejb.core.timer
Class TimerData

java.lang.Object
  extended by org.apache.openejb.core.timer.TimerData

public class TimerData
extends Object


Constructor Summary
TimerData(long id, EjbTimerServiceImpl timerService, String deploymentId, Object primaryKey, Object info, Date expiration, long intervalDuration)
           
 
Method Summary
 void cancel()
           
 String getDeploymentId()
           
 Date getExpiration()
           
 long getId()
           
 Object getInfo()
           
 long getIntervalDuration()
           
 Object getPrimaryKey()
           
 javax.ejb.Timer getTimer()
           
 TimerTask getTimerTask()
           
 boolean isCancelled()
           
 boolean isNewTimer()
           
 boolean isOneTime()
           
 void newTimer()
           
 void setTimerTask(TimerTask timerTask)
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimerData

public TimerData(long id,
                 EjbTimerServiceImpl timerService,
                 String deploymentId,
                 Object primaryKey,
                 Object info,
                 Date expiration,
                 long intervalDuration)
Method Detail

stop

public void stop()

getId

public long getId()

getDeploymentId

public String getDeploymentId()

getPrimaryKey

public Object getPrimaryKey()

getInfo

public Object getInfo()

getExpiration

public Date getExpiration()

getIntervalDuration

public long getIntervalDuration()

getTimerTask

public TimerTask getTimerTask()

setTimerTask

public void setTimerTask(TimerTask timerTask)

getTimer

public javax.ejb.Timer getTimer()

isOneTime

public boolean isOneTime()

isNewTimer

public boolean isNewTimer()

newTimer

public void newTimer()

isCancelled

public boolean isCancelled()

cancel

public void cancel()


Copyright © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.