FileDocCategorySizeDatePackage
EjbTimerEventListener.javaAPI DocGlassfish v2 API3125Fri May 04 22:33:34 BST 2007com.sun.enterprise.admin.event

EjbTimerEventListener

public interface EjbTimerEventListener implements AdminEventListener

Fields Summary
Constructors Summary
Methods Summary
public java.lang.String[]listTimers(EjbTimerEvent event, java.lang.String[] servers)
Returns all active timers associated with the given server ids.

param
event timer event
param
servers name of server instances
returns
description of all active timers associated with the given server ids
throws
AdminEventListenerException when the listener is unable to process the event

public intmigrateTimer(EjbTimerEvent event, java.lang.String from)
Migrates all ejb timers that belongs to the "from" server instance to the targeted server instance.

param
event timer event
param
from name of the server instance from where ejb timers need to be migrated
returns
number of timers that were migrated
throws
AdminEventListenerException when the listener is unable to process the event