Package org.glassfish.web.admin.monitor
Class JspProbeProvider
- java.lang.Object
-
- org.glassfish.web.admin.monitor.JspProbeProvider
-
public class JspProbeProvider extends Object
Provider interface for JSP related probes.
-
-
Constructor Summary
Constructors Constructor Description JspProbeProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
jspDestroyedEvent(String jspUri, String appName, 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(String jspUri, String appName, String hostName)
Emits notification that access to a JSP has resulted in an error.void
jspLoadedEvent(String jspUri, String appName, 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(String jspUri, String appName, 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.
-
-
-
Method Detail
-
jspLoadedEvent
public void jspLoadedEvent(String jspUri, String appName, 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 loadedappName
- The name of the application to which the JSP belongshostName
- The name of the virtual server on which the application has been deployed
-
jspReloadedEvent
public void jspReloadedEvent(String jspUri, String appName, 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 reloadedappName
- The name of the application to which the JSP belongshostName
- The name of the virtual server on which the application has been deployed
-
jspDestroyedEvent
public void jspDestroyedEvent(String jspUri, String appName, 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 destroyedappName
- The name of the application to which the JSP belongshostName
- The name of the virtual server on which the application has been deployed
-
jspErrorEvent
public void jspErrorEvent(String jspUri, String appName, 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 errorappName
- The name of the application to which the JSP belongshostName
- The name of the virtual server on which the application has been deployed
-
-