MCPcopy Create free account
hub / github.com/apache/tomcat / setAwait

Method setAwait

java/org/apache/catalina/startup/Bootstrap.java:404–412  ·  view source on GitHub ↗

Set flag. @param await true if the daemon should block @throws Exception Reflection error

(boolean await)

Source from the content-addressed store, hash-verified

402 * @throws Exception Reflection error
403 */
404 public void setAwait(boolean await) throws Exception {
405
406 Class<?>[] paramTypes = new Class[1];
407 paramTypes[0] = Boolean.TYPE;
408 Object[] paramValues = new Object[1];
409 paramValues[0] = Boolean.valueOf(await);
410 Method method = catalinaDaemon.getClass().getMethod("setAwait", paramTypes);
411 method.invoke(catalinaDaemon, paramValues);
412 }
413
414 /**
415 * Returns whether the daemon should block after starting.

Callers 1

mainMethod · 0.45

Calls 3

getMethodMethod · 0.65
invokeMethod · 0.65
valueOfMethod · 0.45

Tested by

no test coverage detected