View Javadoc
1   /*
2    * Licensed under the GPL License. You may not use this file except in compliance with the License.
3    * You may obtain a copy of the License at
4    *
5    *   https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
6    *
7    * THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,
8    * WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
9    * PURPOSE.
10   */
11  package psiprobe.controllers.system;
12  
13  import java.util.List;
14  
15  import javax.servlet.http.HttpServletRequest;
16  import javax.servlet.http.HttpServletResponse;
17  
18  import org.springframework.beans.factory.annotation.Value;
19  import org.springframework.stereotype.Controller;
20  import org.springframework.web.bind.annotation.RequestMapping;
21  import org.springframework.web.servlet.ModelAndView;
22  
23  /**
24   * Creates an instance of SysPropsController.
25   */
26  @Controller
27  public class SysPropsController extends BaseSysInfoController {
28  
29    @Value("jmxremote.password")
30    @Override
31    public void setFilterOutKeys(List<String> filterOutKeys) {
32      super.setFilterOutKeys(filterOutKeys);
33    }
34  
35    @RequestMapping(path = "/sysprops.htm")
36    @Override
37    public ModelAndView handleRequest(HttpServletRequest request, HttpServletResponse response)
38        throws Exception {
39      return super.handleRequest(request, response);
40    }
41  
42    @Value("system_properties")
43    @Override
44    public void setViewName(String viewName) {
45      super.setViewName(viewName);
46    }
47  
48  }