Package org.jboss.as.ejb3.timerservice
Class TimerServiceFactoryServiceConfigurator
java.lang.Object
org.wildfly.clustering.service.SimpleServiceNameProvider
org.jboss.as.ejb3.timerservice.TimerServiceFactoryServiceConfigurator
- All Implemented Interfaces:
CapabilityServiceConfigurator,ManagedTimerServiceFactory,ServiceConfigurator,ServiceNameProvider
public class TimerServiceFactoryServiceConfigurator
extends SimpleServiceNameProvider
implements CapabilityServiceConfigurator, ManagedTimerServiceFactory
Configures a service that provides a local timer service factory.
- Author:
- Paul Ferraro
-
Constructor Summary
ConstructorsConstructorDescriptionTimerServiceFactoryServiceConfigurator(org.jboss.msc.service.ServiceName name, ManagedTimerServiceFactoryConfiguration configuration, String threadPoolName, String store) -
Method Summary
Modifier and TypeMethodDescriptionorg.jboss.msc.service.ServiceBuilder<?>build(org.jboss.msc.service.ServiceTarget target) configure(org.jboss.as.controller.capability.CapabilityServiceSupport support) createTimerService(EJBComponent component) Creates a managed timer service for the specified component.Methods inherited from class org.wildfly.clustering.service.SimpleServiceNameProvider
equals, getServiceName, hashCode, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.jboss.as.clustering.controller.CapabilityServiceConfigurator
configureMethods inherited from interface org.wildfly.clustering.service.ServiceNameProvider
getServiceName
-
Constructor Details
-
TimerServiceFactoryServiceConfigurator
public TimerServiceFactoryServiceConfigurator(org.jboss.msc.service.ServiceName name, ManagedTimerServiceFactoryConfiguration configuration, String threadPoolName, String store)
-
-
Method Details
-
filter
public TimerServiceFactoryServiceConfigurator filter(Predicate<jakarta.ejb.TimerConfig> timerFilter) -
configure
public ServiceConfigurator configure(org.jboss.as.controller.capability.CapabilityServiceSupport support) - Specified by:
configurein interfaceCapabilityServiceConfigurator
-
build
public org.jboss.msc.service.ServiceBuilder<?> build(org.jboss.msc.service.ServiceTarget target) - Specified by:
buildin interfaceServiceConfigurator
-
createTimerService
Description copied from interface:ManagedTimerServiceFactoryCreates a managed timer service for the specified component.- Specified by:
createTimerServicein interfaceManagedTimerServiceFactory- Parameters:
component- an EJB component- Returns:
- a managed timer service.
-