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
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.ResourceDelegateProviderNested 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 -
Method Summary
Modifier and TypeMethodDescriptionvoidtimerAdded(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, requireChildMethods inherited from class org.jboss.as.controller.registry.DelegatingResource
getModel, getOrderedChildTypes, isModelDefined, isProxy, isRuntime, registerChild, registerChild, registerResourceProvider, removeChild, writeModelMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jboss.as.controller.registry.Resource
shallowCopy
-
Constructor Details
-
TimerServiceResource
public TimerServiceResource()
-
-
Method Details
-
timerAdded
Description copied from interface:TimerListenerRegisters a timer with the specified identifier.- Specified by:
timerAddedin interfaceTimerListener- Parameters:
id- an timer identifier.
-
timerRemoved
Description copied from interface:TimerListenerUnregisters a timer with the specified identifier.- Specified by:
timerRemovedin interfaceTimerListener- Parameters:
id- an timer identifier.
-