public void initialize(String configXML) throws BWFLAException {
   // create a new vde switch instance in tmpdir/sockets
   runner.setCommand(EmucompSingleton.CONF.vdeSwitchBean);
   runner.addArgument("-s");
   runner.addArgument(this.tempDir.toPath().resolve("sockets").toString());
   if (!runner.start()) throw new BWFLAException("Could not create a vde-switch instance!");
 }
  @Override
  public void destroy() {

    runner.stop();
    runner.cleanup();

    // remove temporary dir
    if (tempDir != null && tempDir.exists()) {
      try {
        FileUtils.deleteDirectory(tempDir);
        LOG.info("Temporary directory removed: " + tempDir.getAbsolutePath());
        tempDir = null;
      } catch (IOException e) {
        LOG.severe(e.getMessage());
      }
    }
  }