Class ServiceController
- java.lang.Object
-
- org.opennms.web.controller.element.ServiceController
-
- All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean
@Controller @RequestMapping("/element/service.htm") public class ServiceController extends java.lang.Object implements org.springframework.beans.factory.InitializingBean
- Author:
- Melania Galea
-
-
Constructor Summary
Constructors Constructor Description ServiceController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterPropertiesSet()
org.springframework.web.servlet.ModelAndView
handleService(int ifServiceId)
org.springframework.web.servlet.ModelAndView
handleService(int node, java.lang.String intf, int serviceId)
-
-
-
Method Detail
-
afterPropertiesSet
public void afterPropertiesSet() throws java.lang.Exception
- Specified by:
afterPropertiesSet
in interfaceorg.springframework.beans.factory.InitializingBean
- Throws:
java.lang.Exception
-
handleService
@RequestMapping(method=GET, params="ifserviceid") public org.springframework.web.servlet.ModelAndView handleService(@RequestParam("ifserviceid") int ifServiceId)
-
handleService
@RequestMapping(method=GET, params={"node","intf","service"}) public org.springframework.web.servlet.ModelAndView handleService(@RequestParam("node") int node, @RequestParam("intf") java.lang.String intf, @RequestParam("service") int serviceId)
-
-