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

Method removeManager

java/org/apache/catalina/mbeans/MBeanFactory.java:791–799  ·  view source on GitHub ↗

Remove an existing Manager. @param name MBean Name of the component to remove @exception Exception if a component cannot be removed

(String name)

Source from the content-addressed store, hash-verified

789 * @exception Exception if a component cannot be removed
790 */
791 public void removeManager(String name) throws Exception {
792
793 ObjectName oname = new ObjectName(name);
794 // Acquire a reference to the component to be removed
795 Container container = getParentContainerFromChild(oname);
796 if (container instanceof Context) {
797 ((Context) container).setManager(null);
798 }
799 }
800
801
802 /**

Callers

nothing calls this directly

Calls 2

setManagerMethod · 0.65

Tested by

no test coverage detected