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


Method Summary
 java.util.Set<? extends Controllable> contents()
           
 java.lang.String description()
           
 void disable()
           
 void enable()
           
 int id()
           
 boolean isEnabled()
           
 
Methods inherited from interface org.glassfish.gmbal.impl.TimerAnnotationHelper.ManagedNamed
factory, name
 

Method Detail

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()