public abstract class JavascriptVmFactory
extends java.lang.Object
JavascriptVm
instances. Note that WipBrowser
instances are
created in a specialized class WipBrowserFactory
.Constructor and Description |
---|
JavascriptVmFactory() |
Modifier and Type | Method and Description |
---|---|
abstract StandaloneVm |
createStandalone(java.net.SocketAddress socketAddress,
ConnectionLogger connectionLogger)
Constructs StandaloneVm instance that talks to a V8 JavaScript VM via
DebuggerAgent opened at
socketAddress . |
static JavascriptVmFactory |
getInstance()
Gets a
JavascriptVmFactory instance. |
static java.util.logging.Logger |
getRootLogger() |
public static JavascriptVmFactory getInstance()
JavascriptVmFactory
instance. This method should be overridden by
implementations that want to construct other implementations of
Browser
.JavascriptVmFactory
singleton instancepublic abstract StandaloneVm createStandalone(java.net.SocketAddress socketAddress, ConnectionLogger connectionLogger)
socketAddress
.socketAddress
- V8 DebuggerAgent is listening onconnectionLogger
- provides facility for listening to network
traffic; may be nullpublic static java.util.logging.Logger getRootLogger()
Copyright (c) IBM Corp. and others 2000, 2016. All Rights Reserved.