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 ClassesModifier and TypeClassDescriptionstatic classUsed by serialization code to serialize a TimerWrapper. -
Method Summary
-
Method Details
-
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
- 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
-
equals
-
hashCode
public int hashCode() -
toString
-
getSerializableObjectFactory
public com.sun.enterprise.container.common.spi.util.SerializableObjectFactory getSerializableObjectFactory()- Specified by:
getSerializableObjectFactoryin interfacecom.sun.enterprise.container.common.spi.util.IndirectlySerializable
-