public class RemoteCacheStartupServlet
extends javax.servlet.http.HttpServlet
| Constructor and Description |
|---|
RemoteCacheStartupServlet() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
shuts the cache down.
|
void |
init()
Starts the registry and then tries to bind to it.
|
protected void |
service(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
It just dumps the stats.
|
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, servicepublic void init()
throws javax.servlet.ServletException
Gets the port from a props file. Uses the local host name for the registry host. Tries to start the registry, ignoring failure. Starts the server.
init in class javax.servlet.GenericServletjavax.servlet.ServletExceptionprotected void service(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
IOException
service in class javax.servlet.http.HttpServletrequest - response - javax.servlet.ServletExceptionIOExceptionpublic void destroy()
destroy in interface javax.servlet.Servletdestroy in class javax.servlet.GenericServletCopyright © 2002–2016 The Apache Software Foundation. All rights reserved.