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
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Registers a timer with the specified identifier.
    void
    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

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface java.util.function.Function

    andThen, compose

    Methods inherited from interface org.jboss.as.controller.registry.Resource

    shallowCopy
  • Constructor Details

    • TimerServiceResource

      public TimerServiceResource()
  • Method Details

    • timerAdded

      public void timerAdded(String id)
      Description copied from interface: TimerListener
      Registers a timer with the specified identifier.
      Specified by:
      timerAdded in interface TimerListener
      Parameters:
      id - an timer identifier.
    • timerRemoved

      public void timerRemoved(String id)
      Description copied from interface: TimerListener
      Unregisters a timer with the specified identifier.
      Specified by:
      timerRemoved in interface TimerListener
      Parameters:
      id - an timer identifier.