Set flag. @param await true if the daemon should block @throws Exception Reflection error
(boolean await)
| 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. |