public void deployVerticle(String identifier, DeploymentOptions options, Handler<AsyncResult<String>> completionHandler) { ContextInternal callingContext = vertx.getOrCreateContext(); ClassLoader cl = getClassLoader(options); doDeployVerticle(identifier, options, callingContext, callingContext, cl, completionHandler); }
} else { doDeployVerticle(iter, res.cause(), identifier, options, parentContext, callingContext, cl, completionHandler); doDeployVerticle(iter, err, identifier, options, parentContext, callingContext, cl, completionHandler); }); } else {
public void deployVerticle(String identifier, DeploymentOptions options, Handler<AsyncResult<String>> completionHandler) { if (options.isMultiThreaded() && !options.isWorker()) { throw new IllegalArgumentException("If multi-threaded then must be worker too"); } ContextInternal callingContext = vertx.getOrCreateContext(); ClassLoader cl = getClassLoader(options); doDeployVerticle(identifier, options, callingContext, callingContext, cl, completionHandler); }
} else { doDeployVerticle(iter, res.cause(), identifier, options, parentContext, callingContext, cl, completionHandler); doDeployVerticle(iter, err, identifier, options, parentContext, callingContext, cl, completionHandler); }); } else {