Package com.jk.webstack.services.mointor
Class JKWebStackMonitor
java.lang.Object
com.jk.web.monitoring.JKMonitorService
com.jk.webstack.services.mointor.JKWebStackMonitor
This class is a service class used for handling and logging exceptions in a
web stack.
- Version:
- 1.0
- Author:
- Dr. Jalal H. Kiswani
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.jk.web.monitoring.JKMonitorService
getIdToken, getInstance, getUserName, setInstance
-
Constructor Details
-
JKWebStackMonitor
public JKWebStackMonitor()This method constructs a newJKWebStackMonitor
.
-
-
Method Details
-
publish
This method logs an error or exception.- Overrides:
publish
in classJKMonitorService
- Parameters:
request
- Specifies theHttpServletRequest
object representing the current HTTP request.exception
- Specifies the Throwable exception that needs to be logged.
-