org.exolab.jmscts.core
Interface ExecutionListener

All Superinterfaces:
java.util.EventListener
All Known Implementing Classes:
MessengerService

public interface ExecutionListener
extends java.util.EventListener

This interface enables the state of running applications to be monitored

Version:
$Revision: 1.3 $ $Date: 2004/01/31 13:44:24 $
Author:
Tim Anderson
See Also:
AsyncExecutor

Method Summary
 void error(java.lang.Throwable throwable)
          Event handler invoked when the application throws an exception just prior to termination
 void failed(java.lang.Throwable throwable)
          Event handler invoked if the application cannot be started
 void started()
          Event handler invoked when the application starts
 void stopped(int status)
          Event handler invoked when the application stops
 

Method Detail

failed

public void failed(java.lang.Throwable throwable)
Event handler invoked if the application cannot be started
Parameters:
throwable - the exception thrown by the application

started

public void started()
Event handler invoked when the application starts

stopped

public void stopped(int status)
Event handler invoked when the application stops
Parameters:
status - the exit status of the application

error

public void error(java.lang.Throwable throwable)
Event handler invoked when the application throws an exception just prior to termination
Parameters:
throwable - the exception thrown by the application


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