Class BrowserInstanceManager

java.lang.Object
com.inductiveautomation.webbrowser.BrowserInstanceManager

public class BrowserInstanceManager extends Object
  • Constructor Details

    • BrowserInstanceManager

      public BrowserInstanceManager()
  • Method Details

    • startup

      public void startup(ClientContext context)
    • shutdown

      public void shutdown()
    • withEngine

      public <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. 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.