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.ServletException
s and IOException
s 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, 2018. All Rights Reserved.