org.apache.openejb.core.timer
Class TimerData
java.lang.Object
org.apache.openejb.core.timer.TimerData
- Direct Known Subclasses:
- CalendarTimerData, IntervalTimerData, SingleActionTimerData
public abstract class TimerData
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OPEN_EJB_TIMEOUT_TRIGGER_NAME_PREFIX
public static final String OPEN_EJB_TIMEOUT_TRIGGER_NAME_PREFIX
- See Also:
- Constant Field Values
OPEN_EJB_TIMEOUT_TRIGGER_GROUP_NAME
public static final String OPEN_EJB_TIMEOUT_TRIGGER_GROUP_NAME
- See Also:
- Constant Field Values
trigger
protected org.quartz.Trigger trigger
scheduler
protected org.quartz.Scheduler scheduler
TimerData
public TimerData(long id,
EjbTimerServiceImpl timerService,
String deploymentId,
Object primaryKey,
Method timeoutMethod,
javax.ejb.TimerConfig timerConfig)
setScheduler
public void setScheduler(org.quartz.Scheduler scheduler)
stop
public void stop()
getId
public long getId()
getDeploymentId
public String getDeploymentId()
getPrimaryKey
public Object getPrimaryKey()
getInfo
public Object getInfo()
getTimer
public javax.ejb.Timer getTimer()
isNewTimer
public boolean isNewTimer()
newTimer
public void newTimer()
isCancelled
public boolean isCancelled()
cancel
public void cancel()
getTimeoutMethod
public Method getTimeoutMethod()
isPersistent
public boolean isPersistent()
getTrigger
public org.quartz.Trigger getTrigger()
getNextTimeout
public Date getNextTimeout()
getTimeRemaining
public long getTimeRemaining()
isExpired
public boolean isExpired()
setExpired
public void setExpired(boolean expired)
getType
public abstract TimerType getType()
initializeTrigger
protected abstract org.quartz.Trigger initializeTrigger()
Copyright © 1999-2011 The Apache Software Foundation. All Rights Reserved.