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