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

Class ManagerServlet

java/org/apache/catalina/manager/ManagerServlet.java:151–1751  ·  view source on GitHub ↗

Servlet that enables remote management of the web applications installed within the same virtual host as this web application is. Normally, this functionality will be protected by a security constraint in the web application deployment descriptor. However, this requirement can be relaxed during test

Source from the content-addressed store, hash-verified

149 * </ul>
150 */
151public class ManagerServlet extends HttpServlet implements ContainerServlet {
152
153 @Serial
154 private static final long serialVersionUID = 1L;
155
156 /**
157 * Default constructor.
158 */
159 public ManagerServlet() {
160 }
161
162 // ----------------------------------------------------- Instance Variables
163
164
165 /**
166 * Path where context descriptors should be deployed.
167 */
168 protected File configBase = null;
169
170
171 /**
172 * The Context container associated with our web application.
173 */
174 protected transient Context context = null;
175
176
177 /**
178 * The debugging detail level for this servlet.
179 */
180 protected int debug = 1;
181
182
183 /**
184 * Path used to store revisions of webapps.
185 */
186 protected File versioned = null;
187
188
189 /**
190 * The associated host.
191 */
192 protected transient Host host = null;
193
194
195 /**
196 * MBean server.
197 */
198 protected transient MBeanServer mBeanServer = null;
199
200
201 /**
202 * The associated deployer ObjectName.
203 */
204 protected ObjectName oname = null;
205
206
207 /**
208 * The global JNDI <code>NamingContext</code> for this server, if available.

Callers

nothing calls this directly

Calls 1

getManagerMethod · 0.95

Tested by

no test coverage detected