Interface ManagedTimerServiceConfiguration
-
- All Superinterfaces:
TimerServiceApplicableComponentConfiguration
- All Known Subinterfaces:
CompositeTimerServiceConfiguration,DistributableTimerServiceConfiguration<I>,TimerServiceConfiguration
public interface ManagedTimerServiceConfiguration extends TimerServiceApplicableComponentConfiguration
Encapsulates the common configuration of a managed timer service.- Author:
- Paul Ferraro
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classManagedTimerServiceConfiguration.TimerFilter
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TimedObjectInvokergetInvoker()An invoker for the EJB component associated with this timer servicePredicate<jakarta.ejb.TimerConfig>getTimerFilter()Returns a filter to determine whether or not to create a given timer.-
Methods inherited from interface org.jboss.as.ejb3.timerservice.spi.TimerServiceApplicableComponentConfiguration
getTimerListener, getTimerServiceRegistry
-
-
-
-
Method Detail
-
getInvoker
TimedObjectInvoker getInvoker()
An invoker for the EJB component associated with this timer service- Returns:
- an invoker
-
getTimerFilter
Predicate<jakarta.ejb.TimerConfig> getTimerFilter()
Returns a filter to determine whether or not to create a given timer.- Returns:
- a filter that returns true, if the given timer should be created, false otherwise.
-
-