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, jakarta.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().jakarta.servlet.ServletException - if an error is encountered during the
execution of runnable.run().© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.