Class JavaMelodyCustomMonitoringFilter
- java.lang.Object
-
- net.bull.javamelody.MonitoringFilter
-
- lumis.service.portalmanagement.monitoring.JavaMelodyCustomMonitoringFilter
-
- All Implemented Interfaces:
Filter
public class JavaMelodyCustomMonitoringFilter extends net.bull.javamelody.MonitoringFilter
Restricts access to the javamelody monitoring page from non portal administrators- Since:
- 8.0.0
- Version:
- $Revision: 23314 $ $Date: 2019-11-04 12:32:31 -0300 (Mon, 04 Nov 2019) $
-
-
Constructor Summary
Constructors Constructor Description JavaMelodyCustomMonitoringFilter()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
doFilter(ServletRequest request, ServletResponse response, FilterChain chain)
static void
initializeJavaMelody1()
Initializes the JavaMelody integration, phase before database initialization.static void
initializeJavaMelody2()
Initializes the JavaMelody integration, phase after database initialization..static String
sqlAggregateRequestName(String requestName)
Generates the aggregate request name for sql counter by default.-
Methods inherited from class net.bull.javamelody.MonitoringFilter
createRequestWrapper, createResponseWrapper, destroy, getApplicationType, getMonitoringUrl, getRequestName, init, isAllowed, isRumMonitoring, log, registerApplicationNodeInCollectServer, setApplicationType, unregisterApplicationNodeInCollectServer
-
-
-
-
Method Detail
-
sqlAggregateRequestName
public static String sqlAggregateRequestName(String requestName)
Generates the aggregate request name for sql counter by default. This method is called by thenet.bull.javamelody.Counter
modified inPortalConfiguration
.- Parameters:
requestName
- the counter request name.- Returns:
- the adjusted aggregate request name.
- Since:
- 9.0.2
-
initializeJavaMelody1
public static void initializeJavaMelody1()
Initializes the JavaMelody integration, phase before database initialization.- Since:
- 10.3.0
-
initializeJavaMelody2
public static void initializeJavaMelody2()
Initializes the JavaMelody integration, phase after database initialization..- Since:
- 10.3.0
-
doFilter
public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException
- Specified by:
doFilter
in interfaceFilter
- Overrides:
doFilter
in classnet.bull.javamelody.MonitoringFilter
- Throws:
IOException
ServletException
-
-