public class IlvServletThreadUtil extends Object
This class is not instantiable.
| Modifier and Type | Method and Description |
|---|---|
static void |
invokeAndWait(IlvServletRunnable runnable)
This method executes runnable.run() synchronously on the AWT event
dispatching thread.
|
public static void invokeAndWait(IlvServletRunnable runnable) throws IOException, javax.servlet.ServletException
EventQueue.invokeAndWait(), except for the
following points:
EventQueue.invokeAndWait() can only be
called from a thread that is not the event dispatching thread.ServletExceptions and IOExceptions are
propagated from runnable.run().runnable - The method to run on the AWT event dispatching thread.IOException - if an input or output error is encountered during
the execution of runnable.run().javax.servlet.ServletException - if an error is encountered during the
execution of runnable.run().© Copyright Rogue Wave Software, Inc. 1997, 2017. All Rights Reserved.