org.glassfish.gmbal.impl
Interface TimerAnnotationHelper.ManagedControllable
- All Superinterfaces:
- TimerAnnotationHelper.ManagedNamed
- All Known Subinterfaces:
- TimerAnnotationHelper.ManagedTimer, TimerAnnotationHelper.ManagedTimerFactory, TimerAnnotationHelper.ManagedTimerGroup
- Enclosing class:
- TimerAnnotationHelper
@ManagedObject
@IncludeSubclass(value={,,})
public static interface TimerAnnotationHelper.ManagedControllable
- extends TimerAnnotationHelper.ManagedNamed
description
@ManagedAttribute
@Description(value="The purpose of the Timer or TimerGroup")
java.lang.String description()
id
@ManagedAttribute
@Description(value="An internal identifier for the Timer or TimerGroup")
int id()
contents
@ManagedAttribute
@Description(value="Set of Timers or TimerGroups contained in a TimerGroup")
java.util.Set<? extends Controllable> contents()
enable
@ManagedOperation
@Description(value="Enable this Timer, or all Timers and TimerGroups contained in this TimerGroup")
void enable()
disable
@ManagedOperation
@Description(value="Disable this Timer, or all Timers and TimerGroups contained in this TimerGroup")
void disable()
isEnabled
@ManagedOperation
@Description(value="True if this Timer or TimerGroup is enabled")
boolean isEnabled()