org.apache.openejb.core.timer
Class TimerData
java.lang.Object
org.apache.openejb.core.timer.TimerData
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- CalendarTimerData, IntervalTimerData, SingleActionTimerData
public abstract class TimerData
- extends Object
- implements Serializable
- See Also:
- Serialized Form
| 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.apache.openejb.quartz.impl.triggers.AbstractTrigger<?> trigger
scheduler
protected org.apache.openejb.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.apache.openejb.quartz.Scheduler scheduler)
doWriteObject
protected void doWriteObject(ObjectOutputStream out)
throws IOException
- Throws:
IOException
doReadObject
protected void doReadObject(ObjectInputStream in)
throws IOException
- Throws:
IOException
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()
isStopped
public boolean isStopped()
isPersistent
public boolean isPersistent()
getTrigger
public org.apache.openejb.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.apache.openejb.quartz.impl.triggers.AbstractTrigger<?> initializeTrigger()
Copyright © 1999–2015 The Apache Software Foundation. All rights reserved.