org.exolab.jmscts.core.service
Interface ExecutionMonitorListener

All Superinterfaces:
java.util.EventListener, java.rmi.Remote

public interface ExecutionMonitorListener
extends java.util.EventListener, java.rmi.Remote

This interface enables the state of running applications to be monitored

Version:
$Revision: 1.2 $ $Date: 2004/02/02 03:49:20 $
Author:
Tim Anderson
See Also:
ExecutionMonitorService

Method Summary
 void error(java.lang.String id, java.lang.Throwable throwable)
          Event handler invoked when the application throws an exception just prior to termination
 void started(java.lang.String id)
          Event handler invoked when the application starts
 

Method Detail

started

public void started(java.lang.String id)
             throws java.rmi.RemoteException
Event handler invoked when the application starts
Parameters:
id - the application identifier
Throws:
java.rmi.RemoteException - if the remote call fails

error

public void error(java.lang.String id,
                  java.lang.Throwable throwable)
           throws java.rmi.RemoteException
Event handler invoked when the application throws an exception just prior to termination
Parameters:
id - the application identifier
throwable - the exception thrown
Throws:
java.rmi.RemoteException - if the remote call fails


Copyright © 2001-2004 JMS CTS Team. All Rights Reserved.