Class 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
    • Method Detail

      • cancel

        public void cancel()
                    throws IllegalStateException,
                           jakarta.ejb.NoSuchObjectLocalException,
                           jakarta.ejb.EJBException
        Specified by:
        cancel in interface jakarta.ejb.Timer
        Throws:
        IllegalStateException
        jakarta.ejb.NoSuchObjectLocalException
        jakarta.ejb.EJBException
      • getTimeRemaining

        public long getTimeRemaining()
                              throws IllegalStateException,
                                     jakarta.ejb.NoMoreTimeoutsException,
                                     jakarta.ejb.NoSuchObjectLocalException
        Specified by:
        getTimeRemaining in interface jakarta.ejb.Timer
        Throws:
        IllegalStateException
        jakarta.ejb.NoMoreTimeoutsException
        jakarta.ejb.NoSuchObjectLocalException
      • getNextTimeout

        public Date getNextTimeout()
                            throws IllegalStateException,
                                   jakarta.ejb.NoMoreTimeoutsException,
                                   jakarta.ejb.NoSuchObjectLocalException
        Specified by:
        getNextTimeout in interface jakarta.ejb.Timer
        Throws:
        IllegalStateException
        jakarta.ejb.NoMoreTimeoutsException
        jakarta.ejb.NoSuchObjectLocalException
      • getHandle

        public jakarta.ejb.TimerHandle getHandle()
                                          throws IllegalStateException,
                                                 jakarta.ejb.NoSuchObjectLocalException
        Specified by:
        getHandle in interface jakarta.ejb.Timer
        Throws:
        IllegalStateException
        jakarta.ejb.NoSuchObjectLocalException
      • getSchedule

        public jakarta.ejb.ScheduleExpression getSchedule()
                                                   throws IllegalStateException,
                                                          jakarta.ejb.NoSuchObjectLocalException,
                                                          jakarta.ejb.EJBException
        Specified by:
        getSchedule in interface jakarta.ejb.Timer
        Throws:
        IllegalStateException
        jakarta.ejb.NoSuchObjectLocalException
        jakarta.ejb.EJBException
      • isCalendarTimer

        public boolean isCalendarTimer()
                                throws IllegalStateException,
                                       jakarta.ejb.NoSuchObjectLocalException,
                                       jakarta.ejb.EJBException
        Specified by:
        isCalendarTimer in interface jakarta.ejb.Timer
        Throws:
        IllegalStateException
        jakarta.ejb.NoSuchObjectLocalException
        jakarta.ejb.EJBException
      • isPersistent

        public boolean isPersistent()
                             throws IllegalStateException,
                                    jakarta.ejb.NoSuchObjectLocalException,
                                    jakarta.ejb.EJBException
        Specified by:
        isPersistent in interface jakarta.ejb.Timer
        Throws:
        IllegalStateException
        jakarta.ejb.NoSuchObjectLocalException
        jakarta.ejb.EJBException
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • getSerializableObjectFactory

        public com.sun.enterprise.container.common.spi.util.SerializableObjectFactory getSerializableObjectFactory()
        Specified by:
        getSerializableObjectFactory in interface com.sun.enterprise.container.common.spi.util.IndirectlySerializable