public abstract class ThreadQueue
extends java.lang.Object
| Modifier and Type | Field and Description | 
|---|---|
| protected MDIApplication | app | 
| protected boolean | isPrintingExceptions | 
| protected java.util.logging.Logger | logger | 
| protected boolean | terminated | 
| Constructor and Description | 
|---|
| ThreadQueue(MDIApplication app) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addAction(MDIAction action)Add an Action to the list of Actions to execute. | 
| void | addAction(MDIAction action,
         java.lang.ClassLoader loader)Add an Action to the list of Actions to execute. | 
| protected abstract void | executeAction(MDIAction action,
             java.lang.ClassLoader loader) | 
| void | exit() | 
| java.util.logging.Logger | getLogger()Return the associated Logger if there is any. | 
| boolean | isPrintingExceptions()Return true if the Exceptions stack trace are to be printed. | 
| void | setLogger(java.util.logging.Logger logger)Set the associated Logger. | 
| void | setPrintingExceptions(boolean isPrintingExceptions)Set if the Exceptions are to be printed. | 
protected MDIApplication app
protected java.util.logging.Logger logger
protected boolean isPrintingExceptions
protected volatile boolean terminated
public ThreadQueue(MDIApplication app)
public boolean isPrintingExceptions()
public java.util.logging.Logger getLogger()
public void setLogger(java.util.logging.Logger logger)
logger - the Loggerpublic void setPrintingExceptions(boolean isPrintingExceptions)
isPrintingExceptions - true if the Exceptions are to be printedpublic void addAction(MDIAction action)
action - the Actionpublic void addAction(MDIAction action, java.lang.ClassLoader loader)
action - the Actionloader - the ClassLoader from which the Action must be performedprotected abstract void executeAction(MDIAction action, java.lang.ClassLoader loader)
public void exit()