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

Method destroy

java/org/apache/catalina/startup/Tomcat.java:471–475  ·  view source on GitHub ↗

Destroy the server. This object cannot be used once this method has been called. @throws LifecycleException Destroy error

()

Source from the content-addressed store, hash-verified

469 * @throws LifecycleException Destroy error
470 */
471 public void destroy() throws LifecycleException {
472 getServer();
473 server.destroy();
474 // Could null out objects here
475 }
476
477 /**
478 * Add a user for the in-memory realm. All created apps use this by default, can be replaced using setRealm().

Calls 2

getServerMethod · 0.95
destroyMethod · 0.65