Package org.opennms.web.admin.config
Class PollerConfigServlet
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- javax.servlet.http.HttpServlet
-
- org.opennms.web.admin.config.PollerConfigServlet
-
- All Implemented Interfaces:
Serializable
,javax.servlet.Servlet
,javax.servlet.ServletConfig
public class PollerConfigServlet extends javax.servlet.http.HttpServlet
A servlet that handles managing or unmanaging interfaces and services on a node- Author:
- Jacinta Remedios , OpenNMS
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected String
redirectSuccess
-
Constructor Summary
Constructors Constructor Description PollerConfigServlet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
adjustNonChecked(List<String> checkedList)
adjustNonCheckedvoid
deleteThese(List<String> deleteServices)
deleteThesevoid
doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
void
init()
initvoid
initPollerServices()
initPollerServicesvoid
modifyPollerInfo(String bPolled, String protocol)
modifyPollerInfovoid
reloadFiles()
reloadFilesvoid
removeMonitor(String service)
removeMonitor-
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
-
-
-
-
Field Detail
-
redirectSuccess
protected String redirectSuccess
-
-
Method Detail
-
init
public void init() throws javax.servlet.ServletException
init
- Overrides:
init
in classjavax.servlet.GenericServlet
- Throws:
javax.servlet.ServletException
- if any.
-
reloadFiles
public void reloadFiles() throws javax.servlet.ServletException
reloadFiles
- Throws:
javax.servlet.ServletException
- if any.
-
initPollerServices
public void initPollerServices()
initPollerServices
-
doGet
public void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
- Overrides:
doGet
in classjavax.servlet.http.HttpServlet
- Throws:
javax.servlet.ServletException
IOException
-
adjustNonChecked
public void adjustNonChecked(List<String> checkedList)
adjustNonChecked
- Parameters:
checkedList
- aList
object.
-
deleteThese
public void deleteThese(List<String> deleteServices) throws IOException
deleteThese
- Parameters:
deleteServices
- aList
object.- Throws:
IOException
- if any.
-
removeMonitor
public void removeMonitor(String service)
removeMonitor
FIXME: I think that this should be using Iterator.remove()- Parameters:
service
- aString
object.
-
-