java.io.Serializable
, java.util.EventListener
, javax.management.NotificationListener
, Servlet
, ServletConfig
public class StatusManagerServlet extends HttpServlet implements javax.management.NotificationListener
Modifier and Type | Field | Description |
---|---|---|
protected java.util.Vector<javax.management.ObjectName> |
globalRequestProcessors |
Vector of global request processors object names.
|
protected javax.management.MBeanServer |
mBeanServer |
MBean server.
|
protected java.util.Vector<javax.management.ObjectName> |
protocolHandlers |
Vector of protocol handlers object names.
|
protected java.util.Vector<javax.management.ObjectName> |
requestProcessors |
Vector of request processors object names.
|
protected static StringManager |
sm |
The string manager for this package.
|
protected java.util.Vector<javax.management.ObjectName> |
threadPools |
Vector of thread pools object names.
|
Constructor | Description |
---|---|
StatusManagerServlet() |
Modifier and Type | Method | Description |
---|---|---|
void |
destroy() |
Finalize this servlet.
|
void |
doGet(HttpServletRequest request,
HttpServletResponse response) |
Process a GET request for the specified resource.
|
void |
handleNotification(javax.management.Notification notification,
java.lang.Object handback) |
|
void |
init() |
Initialize this servlet.
|
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
protected javax.management.MBeanServer mBeanServer
protected final java.util.Vector<javax.management.ObjectName> protocolHandlers
protected final java.util.Vector<javax.management.ObjectName> threadPools
protected final java.util.Vector<javax.management.ObjectName> requestProcessors
protected final java.util.Vector<javax.management.ObjectName> globalRequestProcessors
protected static final StringManager sm
public void init() throws ServletException
init
in class GenericServlet
ServletException
- if an exception occurs that interrupts the servlet's
normal operationpublic void destroy()
destroy
in interface Servlet
destroy
in class GenericServlet
public void doGet(HttpServletRequest request, HttpServletResponse response) throws java.io.IOException, ServletException
doGet
in class HttpServlet
request
- The servlet request we are processingresponse
- The servlet response we are creatingjava.io.IOException
- if an input/output error occursServletException
- if a servlet-specified error occursServletResponse.setContentType(java.lang.String)
public void handleNotification(javax.management.Notification notification, java.lang.Object handback)
handleNotification
in interface javax.management.NotificationListener
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.