Remove an existing Manager. @param name MBean Name of the component to remove @exception Exception if a component cannot be removed
(String name)
| 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 | /** |
nothing calls this directly
no test coverage detected