public class TimerWrapper extends Object implements javax.ejb.Timer, IndirectlySerializable
| Modifier and Type | Class and Description |
|---|---|
static class |
TimerWrapper.SerializedTimerWrapper
Used by serialization code to serialize a TimerWrapper.
|
| Modifier and Type | Method and Description |
|---|---|
void |
cancel() |
boolean |
equals(Object o) |
javax.ejb.TimerHandle |
getHandle() |
Serializable |
getInfo() |
Date |
getNextTimeout() |
javax.ejb.ScheduleExpression |
getSchedule() |
SerializableObjectFactory |
getSerializableObjectFactory() |
long |
getTimeRemaining() |
int |
hashCode() |
boolean |
isCalendarTimer() |
boolean |
isPersistent() |
String |
toString() |
public void cancel()
throws IllegalStateException,
javax.ejb.NoSuchObjectLocalException,
javax.ejb.EJBException
cancel in interface javax.ejb.TimerIllegalStateExceptionjavax.ejb.NoSuchObjectLocalExceptionjavax.ejb.EJBExceptionpublic long getTimeRemaining()
throws IllegalStateException,
javax.ejb.NoMoreTimeoutsException,
javax.ejb.NoSuchObjectLocalException
getTimeRemaining in interface javax.ejb.TimerIllegalStateExceptionjavax.ejb.NoMoreTimeoutsExceptionjavax.ejb.NoSuchObjectLocalExceptionpublic Date getNextTimeout() throws IllegalStateException, javax.ejb.NoMoreTimeoutsException, javax.ejb.NoSuchObjectLocalException
getNextTimeout in interface javax.ejb.TimerIllegalStateExceptionjavax.ejb.NoMoreTimeoutsExceptionjavax.ejb.NoSuchObjectLocalExceptionpublic Serializable getInfo() throws IllegalStateException, javax.ejb.NoSuchObjectLocalException
getInfo in interface javax.ejb.TimerIllegalStateExceptionjavax.ejb.NoSuchObjectLocalExceptionpublic javax.ejb.TimerHandle getHandle()
throws IllegalStateException,
javax.ejb.NoSuchObjectLocalException
getHandle in interface javax.ejb.TimerIllegalStateExceptionjavax.ejb.NoSuchObjectLocalExceptionpublic javax.ejb.ScheduleExpression getSchedule()
throws IllegalStateException,
javax.ejb.NoSuchObjectLocalException,
javax.ejb.EJBException
getSchedule in interface javax.ejb.TimerIllegalStateExceptionjavax.ejb.NoSuchObjectLocalExceptionjavax.ejb.EJBExceptionpublic boolean isCalendarTimer()
throws IllegalStateException,
javax.ejb.NoSuchObjectLocalException,
javax.ejb.EJBException
isCalendarTimer in interface javax.ejb.TimerIllegalStateExceptionjavax.ejb.NoSuchObjectLocalExceptionjavax.ejb.EJBExceptionpublic boolean isPersistent()
throws IllegalStateException,
javax.ejb.NoSuchObjectLocalException,
javax.ejb.EJBException
isPersistent in interface javax.ejb.TimerIllegalStateExceptionjavax.ejb.NoSuchObjectLocalExceptionjavax.ejb.EJBExceptionpublic SerializableObjectFactory getSerializableObjectFactory()
getSerializableObjectFactory in interface IndirectlySerializableCopyright © 2019. All rights reserved.