Load daemon.
(String[] arguments)
| 281 | * Load daemon. |
| 282 | */ |
| 283 | private void load(String[] arguments) throws Exception { |
| 284 | |
| 285 | // Call the load() method |
| 286 | String methodName = "load"; |
| 287 | Object[] param; |
| 288 | Class<?>[] paramTypes; |
| 289 | if (arguments == null || arguments.length == 0) { |
| 290 | paramTypes = null; |
| 291 | param = null; |
| 292 | } else { |
| 293 | paramTypes = new Class[1]; |
| 294 | paramTypes[0] = arguments.getClass(); |
| 295 | param = new Object[1]; |
| 296 | param[0] = arguments; |
| 297 | } |
| 298 | Method method = catalinaDaemon.getClass().getMethod(methodName, paramTypes); |
| 299 | if (log.isTraceEnabled()) { |
| 300 | log.trace("Calling startup class " + method); |
| 301 | } |
| 302 | method.invoke(catalinaDaemon, param); |
| 303 | } |
| 304 | |
| 305 | |
| 306 | /** |
no test coverage detected