FileDocCategorySizeDatePackage
AdminEJBTimerEventListenerImpl.javaAPI DocGlassfish v2 API3830Fri May 04 22:32:56 BST 2007com.sun.ejb.base.distributed

AdminEJBTimerEventListenerImpl

public class AdminEJBTimerEventListenerImpl extends EJBTimerBaseAction implements com.sun.enterprise.admin.event.EjbTimerEventListener
Implementation of Admin infrastructure EjbTimerEventListener interface add @author: add @Date: add @version:

Fields Summary
protected static final com.sun.enterprise.admin.event.EjbTimerEventListener
ejbTimerEventListener
Constructors Summary
private AdminEJBTimerEventListenerImpl()

        super();
    
Methods Summary
public static com.sun.enterprise.admin.event.EjbTimerEventListenergetEjbTimerEventListener()


     
        AdminEventListenerRegistry.addEjbTimerEventListener( 
            ejbTimerEventListener );
    
        return ejbTimerEventListener;
    
public java.lang.String[]listTimers(com.sun.enterprise.admin.event.EjbTimerEvent event, java.lang.String[] servers)

        try {
            return listTimers( servers );
        } catch( Exception ex ) {
            AdminEventListenerException adminEx = new AdminEventListenerException();
            adminEx.initCause( ex );
            throw adminEx;
        }
    
public intmigrateTimer(com.sun.enterprise.admin.event.EjbTimerEvent event, java.lang.String fromServerId)

        try {
            return migrateTimers( fromServerId  );
        } catch( Exception ex ) {
            AdminEventListenerException adminEx = new AdminEventListenerException();
            adminEx.initCause( ex );
            throw adminEx;
        }