Class NonFunctionalTimerService

  • All Implemented Interfaces:
    javax.ejb.TimerService, org.jboss.msc.Service, org.jboss.msc.service.Service<javax.ejb.TimerService>, org.jboss.msc.value.Value<javax.ejb.TimerService>

    public final class NonFunctionalTimerService
    extends Object
    implements javax.ejb.TimerService, org.jboss.msc.service.Service<javax.ejb.TimerService>
    Non-functional timer service that is bound when the timer service is disabled.
    • Constructor Detail

    • Method Detail

      • serviceNameFor

        public static org.jboss.msc.service.ServiceName serviceNameFor​(EJBComponentDescription ejbComponentDescription)
      • createCalendarTimer

        public javax.ejb.Timer createCalendarTimer​(javax.ejb.ScheduleExpression schedule)
                                            throws IllegalStateException
        Specified by:
        createCalendarTimer in interface javax.ejb.TimerService
        Throws:
        IllegalStateException
      • createCalendarTimer

        public javax.ejb.Timer createCalendarTimer​(javax.ejb.ScheduleExpression schedule,
                                                   javax.ejb.TimerConfig timerConfig)
                                            throws IllegalStateException
        Specified by:
        createCalendarTimer in interface javax.ejb.TimerService
        Throws:
        IllegalStateException
      • createIntervalTimer

        public javax.ejb.Timer createIntervalTimer​(Date initialExpiration,
                                                   long intervalDuration,
                                                   javax.ejb.TimerConfig timerConfig)
                                            throws IllegalStateException
        Specified by:
        createIntervalTimer in interface javax.ejb.TimerService
        Throws:
        IllegalStateException
      • createIntervalTimer

        public javax.ejb.Timer createIntervalTimer​(long initialDuration,
                                                   long intervalDuration,
                                                   javax.ejb.TimerConfig timerConfig)
                                            throws IllegalStateException
        Specified by:
        createIntervalTimer in interface javax.ejb.TimerService
        Throws:
        IllegalStateException
      • createSingleActionTimer

        public javax.ejb.Timer createSingleActionTimer​(Date expiration,
                                                       javax.ejb.TimerConfig timerConfig)
                                                throws IllegalStateException
        Specified by:
        createSingleActionTimer in interface javax.ejb.TimerService
        Throws:
        IllegalStateException
      • createSingleActionTimer

        public javax.ejb.Timer createSingleActionTimer​(long duration,
                                                       javax.ejb.TimerConfig timerConfig)
                                                throws IllegalStateException
        Specified by:
        createSingleActionTimer in interface javax.ejb.TimerService
        Throws:
        IllegalStateException
      • start

        public void start​(org.jboss.msc.service.StartContext startContext)
        Specified by:
        start in interface org.jboss.msc.Service
        Specified by:
        start in interface org.jboss.msc.service.Service<javax.ejb.TimerService>
      • stop

        public void stop​(org.jboss.msc.service.StopContext stopContext)
        Specified by:
        stop in interface org.jboss.msc.Service
        Specified by:
        stop in interface org.jboss.msc.service.Service<javax.ejb.TimerService>
      • getValue

        public javax.ejb.TimerService getValue()
        Specified by:
        getValue in interface org.jboss.msc.value.Value<javax.ejb.TimerService>