Tuscany Core

org.apache.tuscany.core.client
Interface TuscanyRuntime.Monitor

Enclosing class:
TuscanyRuntime

public static interface TuscanyRuntime.Monitor

Monitor interface for a TuscanyRuntime.


Method Summary
 void moduleStarted(java.lang.String name)
          Event emitted after an application module has been started.
 void moduleStartFailed(java.lang.String name, CoreRuntimeException e)
          Event emitted when an attempt to start an application module failed.
 void moduleStopped(java.lang.String name)
          Event emitted after an application module has been stopped.
 

Method Detail

moduleStarted

void moduleStarted(java.lang.String name)
Event emitted after an application module has been started.

Parameters:
name - the name of the application module

moduleStartFailed

void moduleStartFailed(java.lang.String name,
                       CoreRuntimeException e)
Event emitted when an attempt to start an application module failed.

Parameters:
name - the name of the application module
e - the exception that caused the failure

moduleStopped

void moduleStopped(java.lang.String name)
Event emitted after an application module has been stopped.

Parameters:
name - the name of the application module

Tuscany Core

-