Class BrowserInstanceManager
java.lang.Object
com.inductiveautomation.webbrowser.BrowserInstanceManager
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
shutdown()
void
startup
(ClientContext context) <T> T
withEngine
(Function<com.teamdev.jxbrowser.engine.Engine, T> guardedAction) Executes the supplied Function passing it the engine, which may or may not be null depending on the current state of the module lifecycle.
-
Constructor Details
-
BrowserInstanceManager
public BrowserInstanceManager()
-
-
Method Details
-
startup
-
shutdown
public void shutdown() -
withEngine
Executes the supplied Function passing it the engine, which may or may not be null depending on the current state of the module lifecycle. The action is guarded by a synchronization lock and therefore should be as small and as quick as possible. the result of the action is returned.
-