public class DefaultJavaScriptExecutor extends Object implements JavaScriptExecutor
| Constructor and Description |
|---|
DefaultJavaScriptExecutor(WebClient webClient)
Creates an EventLoop for the webClient.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addWindow(WebWindow newWindow)
Register a window with the eventLoop.
|
protected JavaScriptJobManager |
getJobManagerWithEarliestJob()
Returns the JobExecutor corresponding to the earliest job.
|
protected String |
getThreadName()
Defines the thread name; overload if needed.
|
void |
run()
Runs the eventLoop.
|
void |
shutdown()
Notes that this thread has been shutdown.
|
protected void |
startThreadIfNeeded()
Starts the eventLoopThread_.
|
public DefaultJavaScriptExecutor(WebClient webClient)
webClient - the provided webClientprotected void startThreadIfNeeded()
protected String getThreadName()
protected JavaScriptJobManager getJobManagerWithEarliestJob()
public void addWindow(WebWindow newWindow)
addWindow in interface JavaScriptExecutornewWindow - the new web windowpublic void shutdown()
shutdown in interface JavaScriptExecutorCopyright © 2002–2025 Gargoyle Software Inc.. All rights reserved.