Package org.glassfish.web.admin.monitor
Class ServletProbeProvider
- java.lang.Object
-
- org.glassfish.web.admin.monitor.ServletProbeProvider
-
public class ServletProbeProvider extends Object
Provider interface for servlet related probes.
-
-
Constructor Summary
Constructors Constructor Description ServletProbeProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterServiceEvent(String servletName, int responseStatus, String appName, String hostName)Emits notification that a servlet has returned from its service method.voidbeforeServiceEvent(String servletName, String appName, String hostName)Emits notification that a servlet is about to enter its service method.voidservletDestroyedEvent(String servletName, String appName, String hostName)Emits notification that a servlet has been destroyed.voidservletInitializedEvent(String servletName, String appName, String hostName)Emits notification that a servlet has been initialized.
-
-
-
Method Detail
-
servletInitializedEvent
public void servletInitializedEvent(String servletName, String appName, String hostName)
Emits notification that a servlet has been initialized.- Parameters:
servletName- the name of the servlet that was initializedappName- the name of the app to which the servlet belongshostName- the name of the virtual server on which the app has been deployed
-
servletDestroyedEvent
public void servletDestroyedEvent(String servletName, String appName, String hostName)
Emits notification that a servlet has been destroyed.- Parameters:
servletName- the name of the servlet that was destroyedappName- the name of the app to which the servlet belongshostName- the name of the virtual server on which the app has been deployed
-
beforeServiceEvent
public void beforeServiceEvent(String servletName, String appName, String hostName)
Emits notification that a servlet is about to enter its service method.- Parameters:
servletName- the name of the servletappName- the name of the app to which the servlet belongshostName- the name of the virtual server on which the app has been deployed
-
afterServiceEvent
public void afterServiceEvent(String servletName, int responseStatus, String appName, String hostName)
Emits notification that a servlet has returned from its service method.- Parameters:
servletName- the name of the servletresponseStatus- the response statusappName- the name of the app to which the servlet belongshostName- the name of the virtual server on which the app has been deployed
-
-