org.opennms.web.admin.nodeManagement
Class SnmpGetNodesServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.opennms.web.admin.nodeManagement.SnmpGetNodesServlet
- All Implemented Interfaces:
- java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
- public class SnmpGetNodesServlet
- extends javax.servlet.http.HttpServlet
A servlet that handles querying the database for node, interface, service
combinations for use in setting up SNMP data collection per interface
- Author:
- Tarus Balog , OpenNMS
- See Also:
- Serialized Form
Fields inherited from class javax.servlet.http.HttpServlet |
|
Fields inherited from class javax.servlet.GenericServlet |
|
Method Summary |
void |
doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
private java.util.List |
getAllNodes(javax.servlet.http.HttpSession userSession)
|
void |
init()
|
Methods inherited from class javax.servlet.http.HttpServlet |
doDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, service, service |
Methods inherited from class javax.servlet.GenericServlet |
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SNMP_SERVICE_QUERY
private static final java.lang.String SNMP_SERVICE_QUERY
- See Also:
- Constant Field Values
NODE_QUERY
private static final java.lang.String NODE_QUERY
- See Also:
- Constant Field Values
SnmpGetNodesServlet
public SnmpGetNodesServlet()
init
public void init()
throws javax.servlet.ServletException
- Throws:
javax.servlet.ServletException
doPost
public void doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
java.io.IOException
- Throws:
javax.servlet.ServletException
java.io.IOException
getAllNodes
private java.util.List getAllNodes(javax.servlet.http.HttpSession userSession)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
Generated by eevans on May 29 2005 2015.