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 -
Method Summary
Modifier and TypeMethodDescriptionAn invoker for the EJB component associated with this timer servicePredicate<jakarta.ejb.TimerConfig>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 Details
-
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.
-