Package org.jboss.as.ejb3.timerservice
Class NonFunctionalTimerService
java.lang.Object
org.jboss.as.ejb3.timerservice.NonFunctionalTimerService
- All Implemented Interfaces:
jakarta.ejb.TimerService,ManagedTimerService,org.wildfly.clustering.server.manager.Service
Non-functional timer service that is bound when the timer service is disabled.
-
Constructor Summary
ConstructorsConstructorDescriptionNonFunctionalTimerService(String message, ManagedTimerServiceConfiguration configuration) -
Method Summary
Modifier and TypeMethodDescriptionjakarta.ejb.TimercreateCalendarTimer(jakarta.ejb.ScheduleExpression schedule, jakarta.ejb.TimerConfig timerConfig) jakarta.ejb.TimercreateIntervalTimer(Date initialExpiration, long intervalDuration, jakarta.ejb.TimerConfig timerConfig) jakarta.ejb.TimercreateSingleActionTimer(Date expiration, jakarta.ejb.TimerConfig timerConfig) Returns the managed timer associated with the specified identifierCollection<jakarta.ejb.Timer>Returns the invoker for the timed object associated with this timer service.Collection<jakarta.ejb.Timer>voidstart()voidstop()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jboss.as.ejb3.timerservice.spi.ManagedTimerService
createCalendarTimer, createIntervalTimer, createSingleActionTimer, createTimer, createTimer, createTimer, createTimer, validateInvocationContext
-
Constructor Details
-
NonFunctionalTimerService
-
-
Method Details
-
start
public void start()- Specified by:
startin interfaceorg.wildfly.clustering.server.manager.Service
-
stop
public void stop()- Specified by:
stopin interfaceorg.wildfly.clustering.server.manager.Service
-
findTimer
Description copied from interface:ManagedTimerServiceReturns the managed timer associated with the specified identifier- Specified by:
findTimerin interfaceManagedTimerService- Parameters:
id- a timer identifier- Returns:
- a managed timer
-
getInvoker
Description copied from interface:ManagedTimerServiceReturns the invoker for the timed object associated with this timer service.- Specified by:
getInvokerin interfaceManagedTimerService- Returns:
- a timed object invoker
-
createCalendarTimer
public jakarta.ejb.Timer createCalendarTimer(jakarta.ejb.ScheduleExpression schedule, jakarta.ejb.TimerConfig timerConfig) - Specified by:
createCalendarTimerin interfacejakarta.ejb.TimerService
-
createIntervalTimer
public jakarta.ejb.Timer createIntervalTimer(Date initialExpiration, long intervalDuration, jakarta.ejb.TimerConfig timerConfig) - Specified by:
createIntervalTimerin interfacejakarta.ejb.TimerService
-
createSingleActionTimer
public jakarta.ejb.Timer createSingleActionTimer(Date expiration, jakarta.ejb.TimerConfig timerConfig) - Specified by:
createSingleActionTimerin interfacejakarta.ejb.TimerService
-
getTimers
- Specified by:
getTimersin interfacejakarta.ejb.TimerService
-
getAllTimers
public Collection<jakarta.ejb.Timer> getAllTimers() throws IllegalStateException, jakarta.ejb.EJBException- Specified by:
getAllTimersin interfacejakarta.ejb.TimerService- Throws:
IllegalStateExceptionjakarta.ejb.EJBException
-