Class TimerHandleImpl

  • All Implemented Interfaces:
    jakarta.ejb.TimerHandle, Serializable

    public class TimerHandleImpl
    extends Object
    implements jakarta.ejb.TimerHandle
    Serializable handle for an EJB timer.
    Author:
    Carlo de Wolf, Paul Ferraro
    See Also:
    Serialized Form
    • Constructor Detail

      • TimerHandleImpl

        public TimerHandleImpl​(ManagedTimer timer,
                               EJBComponent component)
        Creates a TimerHandleImpl
        Parameters:
        timer - The managed timer instance
        component - The EJB component associated with the timer
    • Method Detail

      • getTimer

        public jakarta.ejb.Timer getTimer()
        Specified by:
        getTimer in interface jakarta.ejb.TimerHandle
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object