Package com.sun.ejb.containers
Class TimerWrapper
- java.lang.Object
-
- com.sun.ejb.containers.TimerWrapper
-
- All Implemented Interfaces:
com.sun.enterprise.container.common.spi.util.IndirectlySerializable,jakarta.ejb.Timer
public class TimerWrapper extends Object implements jakarta.ejb.Timer, com.sun.enterprise.container.common.spi.util.IndirectlySerializable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTimerWrapper.SerializedTimerWrapperUsed by serialization code to serialize a TimerWrapper.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcancel()booleanequals(Object o)jakarta.ejb.TimerHandlegetHandle()SerializablegetInfo()DategetNextTimeout()jakarta.ejb.ScheduleExpressiongetSchedule()com.sun.enterprise.container.common.spi.util.SerializableObjectFactorygetSerializableObjectFactory()longgetTimeRemaining()inthashCode()booleanisCalendarTimer()booleanisPersistent()StringtoString()
-
-
-
Method Detail
-
cancel
public void cancel() throws IllegalStateException, jakarta.ejb.NoSuchObjectLocalException, jakarta.ejb.EJBException- Specified by:
cancelin interfacejakarta.ejb.Timer- Throws:
IllegalStateExceptionjakarta.ejb.NoSuchObjectLocalExceptionjakarta.ejb.EJBException
-
getTimeRemaining
public long getTimeRemaining() throws IllegalStateException, jakarta.ejb.NoMoreTimeoutsException, jakarta.ejb.NoSuchObjectLocalException- Specified by:
getTimeRemainingin interfacejakarta.ejb.Timer- Throws:
IllegalStateExceptionjakarta.ejb.NoMoreTimeoutsExceptionjakarta.ejb.NoSuchObjectLocalException
-
getNextTimeout
public Date getNextTimeout() throws IllegalStateException, jakarta.ejb.NoMoreTimeoutsException, jakarta.ejb.NoSuchObjectLocalException
- Specified by:
getNextTimeoutin interfacejakarta.ejb.Timer- Throws:
IllegalStateExceptionjakarta.ejb.NoMoreTimeoutsExceptionjakarta.ejb.NoSuchObjectLocalException
-
getInfo
public Serializable getInfo() throws IllegalStateException, jakarta.ejb.NoSuchObjectLocalException
- Specified by:
getInfoin interfacejakarta.ejb.Timer- Throws:
IllegalStateExceptionjakarta.ejb.NoSuchObjectLocalException
-
getHandle
public jakarta.ejb.TimerHandle getHandle() throws IllegalStateException, jakarta.ejb.NoSuchObjectLocalException- Specified by:
getHandlein interfacejakarta.ejb.Timer- Throws:
IllegalStateExceptionjakarta.ejb.NoSuchObjectLocalException
-
getSchedule
public jakarta.ejb.ScheduleExpression getSchedule() throws IllegalStateException, jakarta.ejb.NoSuchObjectLocalException, jakarta.ejb.EJBException- Specified by:
getSchedulein interfacejakarta.ejb.Timer- Throws:
IllegalStateExceptionjakarta.ejb.NoSuchObjectLocalExceptionjakarta.ejb.EJBException
-
isCalendarTimer
public boolean isCalendarTimer() throws IllegalStateException, jakarta.ejb.NoSuchObjectLocalException, jakarta.ejb.EJBException- Specified by:
isCalendarTimerin interfacejakarta.ejb.Timer- Throws:
IllegalStateExceptionjakarta.ejb.NoSuchObjectLocalExceptionjakarta.ejb.EJBException
-
isPersistent
public boolean isPersistent() throws IllegalStateException, jakarta.ejb.NoSuchObjectLocalException, jakarta.ejb.EJBException- Specified by:
isPersistentin interfacejakarta.ejb.Timer- Throws:
IllegalStateExceptionjakarta.ejb.NoSuchObjectLocalExceptionjakarta.ejb.EJBException
-
getSerializableObjectFactory
public com.sun.enterprise.container.common.spi.util.SerializableObjectFactory getSerializableObjectFactory()
- Specified by:
getSerializableObjectFactoryin interfacecom.sun.enterprise.container.common.spi.util.IndirectlySerializable
-
-