org.glassfish.web.admin.monitor
Class ServletProbeProvider

java.lang.Object
  extended by org.glassfish.web.admin.monitor.ServletProbeProvider

public class ServletProbeProvider
extends java.lang.Object

Provider interface for servlet related probes.


Constructor Summary
ServletProbeProvider()
           
 
Method Summary
 void afterServiceEvent(java.lang.String servletName, int responseStatus, java.lang.String appName, java.lang.String hostName)
          Emits notification that a servlet has returned from its service method.
 void beforeServiceEvent(java.lang.String servletName, java.lang.String appName, java.lang.String hostName)
          Emits notification that a servlet is about to enter its service method.
 void servletDestroyedEvent(java.lang.String servletName, java.lang.String appName, java.lang.String hostName)
          Emits notification that a servlet has been destroyed.
 void servletInitializedEvent(java.lang.String servletName, java.lang.String appName, java.lang.String hostName)
          Emits notification that a servlet has been initialized.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServletProbeProvider

public ServletProbeProvider()
Method Detail

servletInitializedEvent

public void servletInitializedEvent(java.lang.String servletName,
                                    java.lang.String appName,
                                    java.lang.String hostName)
Emits notification that a servlet has been initialized.

Parameters:
servletName - the name of the servlet that was initialized
appName - the name of the app to which the servlet belongs
hostName - the name of the virtual server on which the app has been deployed

servletDestroyedEvent

public void servletDestroyedEvent(java.lang.String servletName,
                                  java.lang.String appName,
                                  java.lang.String hostName)
Emits notification that a servlet has been destroyed.

Parameters:
servletName - the name of the servlet that was destroyed
appName - the name of the app to which the servlet belongs
hostName - the name of the virtual server on which the app has been deployed

beforeServiceEvent

public void beforeServiceEvent(java.lang.String servletName,
                               java.lang.String appName,
                               java.lang.String hostName)
Emits notification that a servlet is about to enter its service method.

Parameters:
servletName - the name of the servlet
appName - the name of the app to which the servlet belongs
hostName - the name of the virtual server on which the app has been deployed

afterServiceEvent

public void afterServiceEvent(java.lang.String servletName,
                              int responseStatus,
                              java.lang.String appName,
                              java.lang.String hostName)
Emits notification that a servlet has returned from its service method.

Parameters:
servletName - the name of the servlet
responseStatus - the response status
appName - the name of the app to which the servlet belongs
hostName - the name of the virtual server on which the app has been deployed


Copyright © 2012 GlassFish Community. All Rights Reserved.