Package org.glassfish.web.admin.monitor
Class ServletProbeProvider
java.lang.Object
org.glassfish.web.admin.monitor.ServletProbeProvider
Provider interface for servlet related probes.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidafterServiceEvent(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.
-
Constructor Details
-
ServletProbeProvider
public ServletProbeProvider()
-
-
Method Details
-
servletInitializedEvent
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
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
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
-