ContainerBase.PrivilegedAddChild (Apache Tomcat 9.0.111 API Documentation)
Description: declaration: package: org.apache.catalina.core, class: ContainerBase, class: PrivilegedAddChild

# Class ContainerBase.PrivilegedAddChild

java.lang.Object
org.apache.catalina.core.ContainerBase.PrivilegedAddChild

All Implemented Interfaces:
  `PrivilegedAction<Void>`

Enclosing class:
  `ContainerBase`

protected class ContainerBase.PrivilegedAddChild extends Object implements PrivilegedAction<Void>
Perform addChild with the permissions of this class. addChild can be called with the XML parser on the stack, this allows the XML parser to have fewer privileges than Tomcat.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Void`
  `run()`

  ### Methods inherited from class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Method Details

  - ### run

    public Void run()
    Specified by:
      `run` in interface `PrivilegedAction<Void>`