MCPcopy Index your code
hub / github.com/apache/tomcat / load

Method load

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

Load daemon.

(String[] arguments)

Source from the content-addressed store, hash-verified

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 /**

Callers 1

initMethod · 0.95

Calls 4

getMethodMethod · 0.65
isTraceEnabledMethod · 0.65
traceMethod · 0.65
invokeMethod · 0.65

Tested by

no test coverage detected