Class TimerServiceResource
- java.lang.Object
-
- org.jboss.as.controller.registry.ResourceProvider.ResourceProviderRegistry
-
- org.jboss.as.controller.registry.DelegatingResource
-
- org.jboss.as.clustering.controller.ComplexResource
-
- org.jboss.as.ejb3.subsystem.deployment.TimerServiceResource
-
- All Implemented Interfaces:
Cloneable,Function<String,ChildResourceProvider>,org.jboss.as.controller.registry.Resource,TimerListener
public class TimerServiceResource extends ComplexResource implements TimerListener
Dynamic management resource for a timer service.- Author:
- baranowb, Paul Ferraro
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.jboss.as.controller.registry.DelegatingResource
org.jboss.as.controller.registry.DelegatingResource.ResourceDelegateProvider
-
Nested classes/interfaces inherited from interface org.jboss.as.controller.registry.Resource
org.jboss.as.controller.registry.Resource.Factory, org.jboss.as.controller.registry.Resource.NoSuchResourceException, org.jboss.as.controller.registry.Resource.ResourceEntry, org.jboss.as.controller.registry.Resource.Tools
-
-
Constructor Summary
Constructors Constructor Description TimerServiceResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidtimerAdded(String id)Registers a timer with the specified identifier.voidtimerRemoved(String id)Unregisters a timer with the specified identifier.-
Methods inherited from class org.jboss.as.clustering.controller.ComplexResource
apply, clone, getChild, getChildren, getChildrenNames, getChildTypes, hasChild, hasChildren, navigate, requireChild
-
Methods inherited from class org.jboss.as.controller.registry.DelegatingResource
getModel, getOrderedChildTypes, isModelDefined, isProxy, isRuntime, registerChild, registerChild, registerResourceProvider, removeChild, writeModel
-
-
-
-
Method Detail
-
timerAdded
public void timerAdded(String id)
Description copied from interface:TimerListenerRegisters a timer with the specified identifier.- Specified by:
timerAddedin interfaceTimerListener- Parameters:
id- an timer identifier.
-
timerRemoved
public void timerRemoved(String id)
Description copied from interface:TimerListenerUnregisters a timer with the specified identifier.- Specified by:
timerRemovedin interfaceTimerListener- Parameters:
id- an timer identifier.
-
-