org.glassfish.web.admin.monitor
Class JspProbeProvider

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

public class JspProbeProvider
extends java.lang.Object

Provider interface for JSP related probes.


Constructor Summary
JspProbeProvider()
           
 
Method Summary
 void jspDestroyedEvent(java.lang.String jspUri, java.lang.String appName, java.lang.String hostName)
          Emits notification that a JSP is being destroyed, that is, the Servlet corresponding to the JSP is called at its destroy method either because the JSP is being reloaded or because the application to which the JSP belongs is being stopped (for example, as part of its undeployment).
 void jspErrorEvent(java.lang.String jspUri, java.lang.String appName, java.lang.String hostName)
          Emits notification that access to a JSP has resulted in an error.
 void jspLoadedEvent(java.lang.String jspUri, java.lang.String appName, java.lang.String hostName)
          Emits notification that a JSP has been accessed for the first time and its corresponding Servlet has been loaded and initialized.
 void jspReloadedEvent(java.lang.String jspUri, java.lang.String appName, java.lang.String hostName)
          Emits notification that a JSP whose source code has changed since it was first deployed has been accessed again and was recompiled, and its corresponding Servlet reloaded and reinitialized.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JspProbeProvider

public JspProbeProvider()
Method Detail

jspLoadedEvent

public void jspLoadedEvent(java.lang.String jspUri,
                           java.lang.String appName,
                           java.lang.String hostName)
Emits notification that a JSP has been accessed for the first time and its corresponding Servlet has been loaded and initialized.

Parameters:
jspUri - The path (relative to the root of the application) to the JSP that was loaded
appName - The name of the application to which the JSP belongs
hostName - The name of the virtual server on which the application has been deployed

jspReloadedEvent

public void jspReloadedEvent(java.lang.String jspUri,
                             java.lang.String appName,
                             java.lang.String hostName)
Emits notification that a JSP whose source code has changed since it was first deployed has been accessed again and was recompiled, and its corresponding Servlet reloaded and reinitialized.

Parameters:
jspUri - The path (relative to the root of the application) to the JSP that was reloaded
appName - The name of the application to which the JSP belongs
hostName - The name of the virtual server on which the application has been deployed

jspDestroyedEvent

public void jspDestroyedEvent(java.lang.String jspUri,
                              java.lang.String appName,
                              java.lang.String hostName)
Emits notification that a JSP is being destroyed, that is, the Servlet corresponding to the JSP is called at its destroy method either because the JSP is being reloaded or because the application to which the JSP belongs is being stopped (for example, as part of its undeployment).

Parameters:
jspUri - The path (relative to the root of the application) to the JSP that was destroyed
appName - The name of the application to which the JSP belongs
hostName - The name of the virtual server on which the application has been deployed

jspErrorEvent

public void jspErrorEvent(java.lang.String jspUri,
                          java.lang.String appName,
                          java.lang.String hostName)
Emits notification that access to a JSP has resulted in an error.

Parameters:
jspUri - The path (relative to the root of the application) to the JSP that produced the error
appName - The name of the application to which the JSP belongs
hostName - The name of the virtual server on which the application has been deployed


Copyright © 2012 GlassFish Community. All Rights Reserved.