com.ibm.di.server
Class Monitor
java.lang.Object
java.lang.Thread
com.ibm.di.server.Monitor
All Implemented Interfaces: Runnable
Direct Known Subclasses: AssemblyLine , Switchboard , Trigger
public class Monitor extends Thread
This class is the base class for all TDI classes which implement executable objects,
like AssemblyLines and EventHandlers.
The threadStarted(...) and threadStopped(...) methods are invoked at AssemblyLine/EventHandler
start and stop. These two methods make sure that the Server API is notified of an
AssemblyLine/EventHandler start/stop events, thus supporting the Server API event model.
Methods inherited from class java.lang.Thread
activeCount , checkAccess , countStackFrames , currentThread , destroy , dumpStack , enumerate , getAllStackTraces , getContextClassLoader , getDefaultUncaughtExceptionHandler , getId , getName , getPriority , getStackTrace , getState , getThreadGroup , getUncaughtExceptionHandler , holdsLock , interrupt , interrupted , isAlive , isDaemon , isInterrupted , join , join , join , resume , run , setContextClassLoader , setDaemon , setDefaultUncaughtExceptionHandler , setName , setPriority , setUncaughtExceptionHandler , sleep , sleep , start , stop , stop , suspend , toString , yield
Monitor
public Monitor ()
addActionListener
public static void addActionListener (ActionListener l)
removeActionListener
public static void removeActionListener (ActionListener l)
fireListener
public void fireListener (ActionEvent e)
addThread
public static void addThread (Integer uid,
Thread thread)
removeThread
public static void removeThread (Integer uid)
threadStarted
protected static void threadStarted (Object thread,
String text)
threadStopped
protected static void threadStopped (Object thread,
String text,
Exception e)
allThreadsStopped
public static boolean allThreadsStopped ()
runningALs
public static Vector runningALs ()
runningEHs
public static Vector runningEHs ()
setMonitorMessage
public void setMonitorMessage (Object thread,
String message)